Conditional Ajax for change password form

This commit is contained in:
Marc Delisle
2011-02-02 12:59:02 -05:00
parent f80b603a54
commit 7b73bd180c
2 changed files with 3 additions and 2 deletions

View File

@@ -2007,8 +2007,9 @@ $(document).ready(function() {
* Attach Ajax event handler for Change Password form submission
*
* @uses PMA_ajaxShowMessage()
* @see $cfg['AjaxEnable']
*/
$("#change_password_form").find('input[name=change_pw]').live('click', function(event) {
$("#change_password_form.ajax").find('input[name=change_pw]').live('click', function(event) {
event.preventDefault();
/**