summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-06-01 12:11:49 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-06-01 12:11:49 +0200
commitb522baaaa6ec1b33cb63b2cb992bccd83cb88c50 (patch)
treef2e5edc9501d67038724f43b5282524f960f58f9 /core
parent5a38964218d5fe2cbdb32a84d463a3953fd3c58a (diff)
parentb521109881766b07336b9777446c008ac54676c2 (diff)
downloadnextcloud-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.js5
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)')