mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
allow . in dbname on web install
This commit is contained in:
parent
637cff68ac
commit
d12a74e299
1 changed files with 3 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue