diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-01 12:11:49 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-01 12:11:49 +0200 |
commit | b522baaaa6ec1b33cb63b2cb992bccd83cb88c50 (patch) | |
tree | f2e5edc9501d67038724f43b5282524f960f58f9 /core | |
parent | 5a38964218d5fe2cbdb32a84d463a3953fd3c58a (diff) | |
parent | b521109881766b07336b9777446c008ac54676c2 (diff) | |
download | nextcloud-server-b522baaaa6ec1b33cb63b2cb992bccd83cb88c50.tar.gz nextcloud-server-b522baaaa6ec1b33cb63b2cb992bccd83cb88c50.zip |
Merge pull request #16650 from owncloud/fix-sqlite-only-setup
[setup] Disable buttons only in the case they are present
Diffstat (limited to 'core')
-rw-r--r-- | core/js/setup.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/js/setup.js b/core/js/setup.js index fd2547867ff..cfa11a99c3a 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -59,7 +59,10 @@ $(document).ready(function() { // Disable inputs $(':submit', this).attr('disabled','disabled').val($(':submit', this).data('finishing')); $('input', this).addClass('ui-state-disabled').attr('disabled','disabled'); - $('#selectDbType').buttonset('disable'); + // only disable buttons if they are present + if($('#selectDbType').find('.ui-button').length > 0) { + $('#selectDbType').buttonset('disable'); + } $('.strengthify-wrapper, .tipsy') .css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"') .css('filter', 'alpha(opacity=30)') |