Skip to content

Commit

Permalink
Merge pull request #1551 from ajaxorg/feature/guidedtour
Browse files Browse the repository at this point in the history
Check for page not being there
  • Loading branch information
Ruben Daniels committed May 17, 2012
2 parents c3aaf91 + e6009b1 commit ba5b99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins-client/ext.revisions/revisions.js
Expand Up @@ -633,7 +633,7 @@ module.exports = ext.register("ext/revisions/revisions", {
var revObj = this.$getRevisionObject(message.path);

// guided tour magic conflicts with revisions--skip it
if (page.$model.getXml().getAttribute("guidedtour") === "1")
if (page && page.$model.data.getAttribute("guidedtour") === "1")
return;

switch (message.subtype) {
Expand Down

0 comments on commit ba5b99c

Please sign in to comment.