summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-25 15:47:57 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-25 15:47:57 +0100
commitff4d62132af1950c77a6fb56bc16e3cc9d3a83a0 (patch)
tree424a9ba9c6a50113cd6c265367c1bbde04e43ccd /core/js
parent0d2a58bc5de41cc0af70c231e274d4c3e8972c25 (diff)
downloadnextcloud-server-ff4d62132af1950c77a6fb56bc16e3cc9d3a83a0.tar.gz
nextcloud-server-ff4d62132af1950c77a6fb56bc16e3cc9d3a83a0.zip
This breaks the installation
@bartv2 This JS part is breaking the installation (POST parameters are not transferred), could you please take a look? THX. JS console says: uncaught exception: cannot call methods on button prior to initialization; attempted to call method 'disable'
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setup.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/js/setup.js b/core/js/setup.js
index 39fcf4a2715..9aded6591ca 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -52,11 +52,12 @@ $(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').button('disable');
+ // $('label.ui-button', this).addClass('ui-state-disabled').attr('aria-disabled', 'true').button('disable');
// Create the form
var form = $('<form>');