MINOR Formatting

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92776 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:17:55 +00:00
parent df46717bf0
commit 5ab645e35c

View File

@ -80,7 +80,7 @@
* @param {Event} e * @param {Event} e
*/ */
_submit: function(e) { _submit: function(e) {
this.ajaxSubmit(); this.ajaxSubmit();
return false; return false;
}, },
@ -91,7 +91,7 @@
* @param {boolean} loadResponse Render response through _loadResponse() (Default: true) * @param {boolean} loadResponse Render response through _loadResponse() (Default: true)
*/ */
ajaxSubmit: function(button, callback, ajaxOptions, loadResponse) { ajaxSubmit: function(button, callback, ajaxOptions, loadResponse) {
var self = this; var self = this;
// look for save button // look for save button
if(!button) button = this.find('.Actions :submit[name=action_save]'); if(!button) button = this.find('.Actions :submit[name=action_save]');