Merge pull request #16650 from owncloud/fix-sqlite-only-setup

[setup] Disable buttons only in the case they are present
This commit is contained in:
Thomas Müller 2015-06-01 12:11:49 +02:00
commit b522baaaa6

View file

@ -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)')