Permalink
Browse files

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
  • Loading branch information...
1 parent 9b49ebf commit e4d9e265d24de7c7a434d16f33ed5801b9f6ec2b @ajoneil ajoneil committed with sminnee Nov 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/LeftAndMain.js
@@ -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+')');

0 comments on commit e4d9e26

Please sign in to comment.