mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Fix concurrent editing message always being displayed on page version history.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91203 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9b49ebf8b4
commit
e4d9e265d2
@ -874,7 +874,7 @@ var CurrentPage = {
|
||||
}
|
||||
|
||||
setInterval(function() {
|
||||
if ($('Form_EditForm_ID')) {
|
||||
if ($('Form_EditForm_ID') && !($('Form_EditForm_ArchiveURL'))) {
|
||||
new Ajax.Request("admin/pageStatus?ID="+CurrentPage.id()+'&Version='+CurrentPage.version(), {
|
||||
onSuccess: function(t) {
|
||||
var data = eval('('+t.responseText+')');
|
||||
|
Loading…
Reference in New Issue
Block a user