aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-09 09:36:16 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-09 09:36:16 +0200
commite9a3b280c028e9c7dc5e77bd462af171deb47c79 (patch)
treee62b8415b1fc8bd777e3ee31dd658dbfed859706 /core/js
parent317e6d03b44a1c8e780065b87a90e947797dbe86 (diff)
parentd12a74e299e867a15a6507dfb41ac07ac4ededbf (diff)
downloadnextcloud-server-e9a3b280c028e9c7dc5e77bd462af171deb47c79.tar.gz
nextcloud-server-e9a3b280c028e9c7dc5e77bd462af171deb47c79.zip
Merge pull request #10928 from owncloud/allow_dot_in_dbname_on_web_install
allow . in dbname on web install
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setup.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index aa9dc895479..253a12d9e6f 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');