Conditional Ajax for password change

This commit is contained in:
Marc Delisle
2011-02-02 12:53:20 -05:00
parent a3e0bc0223
commit f80b603a54
2 changed files with 14 additions and 3 deletions

View File

@@ -1979,8 +1979,9 @@ $(document).ready(function() {
/**
* Attach Ajax event handler on the change password anchor
* @see $cfg['AjaxEnable']
*/
$('#change_password_anchor').live('click', function(event) {
$('#change_password_anchor.ajax').live('click', function(event) {
event.preventDefault();
/**