mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Made CMSMain.js EditForm concrete rule more specifc, to avoid problems with super()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92687 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
73e9d884aa
commit
55ed72d2aa
@ -122,9 +122,8 @@ var ss_MainLayout;
|
|||||||
* @class CMS-specific form behaviour
|
* @class CMS-specific form behaviour
|
||||||
* @name ss.EditForm
|
* @name ss.EditForm
|
||||||
*/
|
*/
|
||||||
$('#Form_EditForm').concrete('ss', function($){
|
$('.CMSMain #Form_EditForm').concrete('ss', function($){
|
||||||
return/** @lends ss.EditForm */{
|
return/** @lends ss.EditForm */{
|
||||||
/*
|
|
||||||
onmatch: function() {
|
onmatch: function() {
|
||||||
// Alert the user on change of page-type - this might have implications
|
// Alert the user on change of page-type - this might have implications
|
||||||
// on the available form fields etc.
|
// on the available form fields etc.
|
||||||
@ -134,9 +133,8 @@ var ss_MainLayout;
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$._super();
|
this._super();
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user