Fixed broken account settings form submission.
This commit is contained in:
parent
cf10cf8c82
commit
23f0cbe781
|
@ -1437,8 +1437,10 @@ Wiki.prototype.submit_form = function ( form ) {
|
||||||
self.share_notebook();
|
self.share_notebook();
|
||||||
}
|
}
|
||||||
} else if ( url == "/users/update_settings" ) {
|
} else if ( url == "/users/update_settings" ) {
|
||||||
self.email_address = result.email_address || "";
|
callback = function ( result ) {
|
||||||
self.display_message( "Your account settings have been updated." );
|
self.email_address = result.email_address || "";
|
||||||
|
self.display_message( "Your account settings have been updated." );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.invoker.invoke( url, "POST", args, callback, form );
|
this.invoker.invoke( url, "POST", args, callback, form );
|
||||||
|
|
Reference in New Issue
Block a user