diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-07 08:12:09 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-07 08:12:09 +0100 |
commit | 458ba4b55c38999a1eecb0163b167ba97365a403 (patch) | |
tree | 982421ae93398b978ed5df91ba70f5f114ab1577 /core/js/setup.js | |
parent | c0b370f6cf8bf2ec3f4af921fc9f6935238ca41d (diff) | |
download | nextcloud-server-458ba4b55c38999a1eecb0163b167ba97365a403.tar.gz nextcloud-server-458ba4b55c38999a1eecb0163b167ba97365a403.zip |
Fix disabling setup form on submit
Diffstat (limited to 'core/js/setup.js')
-rw-r--r-- | core/js/setup.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/js/setup.js b/core/js/setup.js index 9aded6591ca..2656cac2f45 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -52,12 +52,10 @@ $(document).ready(function() { // Save form parameters var post = $(this).serializeArray(); - // FIXME: This lines are breaking the installation // Disable inputs - // $(':submit', this).attr('disabled','disabled').val('Finishing …'); - // $('input', this).addClass('ui-state-disabled').attr('disabled','disabled'); - // $('#selectDbType').button('disable'); - // $('label.ui-button', this).addClass('ui-state-disabled').attr('aria-disabled', 'true').button('disable'); + $(':submit', this).attr('disabled','disabled').val('Finishing …'); + $('input', this).addClass('ui-state-disabled').attr('disabled','disabled'); + $('#selectDbType').buttonset('disable'); // Create the form var form = $('<form>'); |