1
0
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:
Ingo Schommer 2009-11-21 03:17:57 +00:00
parent 5ab645e35c
commit 17392ff42b

View File

@ -305,7 +305,12 @@
*/
$('#Form_EditForm .Actions :submit').concrete('ss', function($){
return/** @lends ss.Form_EditForm.Actions.submit */{
onclick: function() {
onmatch: function() {
this.bind('click', this._onclick);
this._super();
},
_onclick: function() {
jQuery('#Form_EditForm').concrete('ss').ajaxSubmit(this);
return false;
}