mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02: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($){
|
||||
return/** @lends ss.Form_EditForm.Actions.submit */{
|
||||
onclick: function() {
|
||||
jQuery('#Form_EditForm').concrete('ss').ajaxSubmit(this);
|
||||
onmatch: function() {
|
||||
this.bind('click', this._onclick);
|
||||
|
||||
this._super();
|
||||
},
|
||||
_onclick: function() {
|
||||
jQuery('#Form_EditForm').concrete('ss').ajaxSubmit(this);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user