aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-09-08 13:41:23 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-09-08 13:41:23 +0200
commitd12a74e299e867a15a6507dfb41ac07ac4ededbf (patch)
tree6169c2b456553e081695cfacb09982f9905684e2 /core/js/setup.js
parent637cff68ac2944d6029eb015640bbbd0e686641b (diff)
downloadnextcloud-server-d12a74e299e867a15a6507dfb41ac07ac4ededbf.tar.gz
nextcloud-server-d12a74e299e867a15a6507dfb41ac07ac4ededbf.zip
allow . in dbname on web install
Diffstat (limited to 'core/js/setup.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');