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'
This commit is contained in:
parent
0d2a58bc5d
commit
ff4d62132a
|
@ -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>');
|
||||
|
|
Loading…
Reference in New Issue