mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
df46717bf0
commit
5ab645e35c
@ -80,7 +80,7 @@
|
||||
* @param {Event} e
|
||||
*/
|
||||
_submit: function(e) {
|
||||
this.ajaxSubmit();
|
||||
this.ajaxSubmit();
|
||||
return false;
|
||||
},
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
* @param {boolean} loadResponse Render response through _loadResponse() (Default: true)
|
||||
*/
|
||||
ajaxSubmit: function(button, callback, ajaxOptions, loadResponse) {
|
||||
var self = this;
|
||||
var self = this;
|
||||
|
||||
// look for save button
|
||||
if(!button) button = this.find('.Actions :submit[name=action_save]');
|
||||
|
Loading…
Reference in New Issue
Block a user