mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
0d5ee9d775
commit
f297ec9ac2
@ -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({
|
||||
'#Form_EditForm' : {
|
||||
changeDetection_fieldsToIgnore : {
|
||||
|
Loading…
Reference in New Issue
Block a user