[Pkg-owncloud-commits] [owncloud] 46/258: allow . in dbname on web install
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 5e5d9e0a80aa7b9cf707390b1f9b4312e34a4a47
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Mon Sep 8 13:41:23 2014 +0200
allow . in dbname on web install
---
core/js/setup.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/js/setup.js b/core/js/setup.js
index aa9dc89..253a12d 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -23,18 +23,21 @@ $(document).ready(function() {
$('#use_other_db').slideUp(250);
$('#use_oracle_db').slideUp(250);
$('#sqliteInformation').show();
+ $('#dbname').attr('pattern','[0-9a-zA-Z$_-]+');
});
$('#mysql,#pgsql,#mssql').click(function() {
$('#use_other_db').slideDown(250);
$('#use_oracle_db').slideUp(250);
$('#sqliteInformation').hide();
+ $('#dbname').attr('pattern','[0-9a-zA-Z$_-]+');
});
$('#oci').click(function() {
$('#use_other_db').slideDown(250);
$('#use_oracle_db').show(250);
$('#sqliteInformation').hide();
+ $('#dbname').attr('pattern','[0-9a-zA-Z$_-.]+');
});
$('input[checked]').trigger('click');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list