Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Disable Save Button after click on EDIT screeen #332

Merged
merged 1 commit into from

2 participants

@Amikumar

There was issue while click on SAVE Button on EDIT screen it was not disabling the button.

Due to that user can click the save button multiple times.I debugged and found it was not getting save button object properly ���self._$editDiv.find('#EditDialogSaveButton');

-Amit

@Amikumar Amikumar Disable Save Button after click on EDIT screeen
There was issue while click on SAVE Button on EDIT screen it was not disabling the button.

Due to that user can click the save button multiple times.I debugged and found it was not getting save button object properly self._$editDiv.find('#EditDialogSaveButton');

-Amit
bb61d8f
@hikalkan hikalkan merged commit 7bca4f1 into from
@hikalkan
Owner

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2013
  1. @Amikumar

    Disable Save Button after click on EDIT screeen

    Amikumar authored
    There was issue while click on SAVE Button on EDIT screen it was not disabling the button.
    
    Due to that user can click the save button multiple times.I debugged and found it was not getting save button object properly self._$editDiv.find('#EditDialogSaveButton');
    
    -Amit
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jquery.jtable.js
View
2  lib/jquery.jtable.js
@@ -2208,7 +2208,7 @@ THE SOFTWARE.
return;
}
- var $saveButton = self._$editDiv.find('#EditDialogSaveButton');
+ var $saveButton = $('#EditDialogSaveButton');
var $editForm = self._$editDiv.find('form');
if (self._trigger("formSubmitting", null, { form: $editForm, formType: 'edit', row: self._$editingRow }) != false) {
self._setEnabledOfDialogButton($saveButton, false, self.options.messages.saving);
Something went wrong with that request. Please try again.