mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Fixed LeftAndMain.EditForm.js button onclick, concrete is buggy
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92777 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5ab645e35c
commit
17392ff42b
@ -305,8 +305,13 @@
|
|||||||
*/
|
*/
|
||||||
$('#Form_EditForm .Actions :submit').concrete('ss', function($){
|
$('#Form_EditForm .Actions :submit').concrete('ss', function($){
|
||||||
return/** @lends ss.Form_EditForm.Actions.submit */{
|
return/** @lends ss.Form_EditForm.Actions.submit */{
|
||||||
onclick: function() {
|
onmatch: function() {
|
||||||
jQuery('#Form_EditForm').concrete('ss').ajaxSubmit(this);
|
this.bind('click', this._onclick);
|
||||||
|
|
||||||
|
this._super();
|
||||||
|
},
|
||||||
|
_onclick: function() {
|
||||||
|
jQuery('#Form_EditForm').concrete('ss').ajaxSubmit(this);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user