silverstripe-reports/javascript/CMSMain_right.js
Ingo Schommer 4082561e5d API CHANGE Removed flashColor(), stopFlashing(), suggestStageLink() javascript methods, they were never used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92643 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:01 +00:00

19 lines
378 B
JavaScript
Executable File

Behaviour.register({
'a.cmsEditlink' : {
onclick : function() {
if(this.href.match(/admin\/show\/([0-9]+)($|#|\?)/)) {
$('Form_EditForm').getPageFromServer(RegExp.$1);
return false;
}
}
}
});
Behaviour.register({
'#Form_EditForm' : {
changeDetection_fieldsToIgnore : {
'restricted-chars[Form_EditForm_URLSegment]' : true,
'Sort' : true
}
}
});