Permalink
Browse files

Fix javascript error when closing the link window

  • Loading branch information...
1 parent bfe7dce commit 5f76c006323b0f6033ee7caa7a067ed67ada2f0e Angelo Grossini committed Mar 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/public/javascripts/refinery/admin.js
View
2 core/public/javascripts/refinery/admin.js
@@ -1132,5 +1132,5 @@ parseURL = function(url)
};
iframed = function() {
- return (parent && parent.document.location.href != document.location.href && $.isFunction(parent.$));
+ return (parent && parent.document && parent.document.location.href != document.location.href && $.isFunction(parent.$));
};

0 comments on commit 5f76c00

Please sign in to comment.