ENHANCEMENT Removed a.cmsEditLink javascript behaviour, do a full page load as normal links instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92645 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:38:08 +00:00
parent 0d5ee9d775
commit f297ec9ac2

View File

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