aboutsummaryrefslogtreecommitdiffstats
path: root/infrastructure/ace/www/domline.js
diff options
context:
space:
mode:
authorSimon B @piratpartiet <simonb@redhog.org>2010-04-21 10:55:30 +0200
committerSimon B @piratpartiet <simonb@redhog.org>2010-04-21 10:55:30 +0200
commite794aa43d7977aa58a7ef8704ac212008e0280e9 (patch)
tree638dd5373f6d1f95d90ff3aa336ba9d4300b9018 /infrastructure/ace/www/domline.js
parent9405fe0a588018bf55b82016c1ae246def1cca19 (diff)
downloadetherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.tar.gz
etherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.tar.xz
etherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.zip
Fix IFRAME bug. Closes #70
Diffstat (limited to 'infrastructure/ace/www/domline.js')
-rw-r--r--infrastructure/ace/www/domline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/ace/www/domline.js b/infrastructure/ace/www/domline.js
index 90e9943..016e868 100644
--- a/infrastructure/ace/www/domline.js
+++ b/infrastructure/ace/www/domline.js
@@ -101,7 +101,7 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument) {
var extraOpenTags = "";
var extraCloseTags = "";
- (function () { try { return top.plugins; } catch (e) { return plugins; }; })().callHook(
+ parent.parent.plugins.callHook(
"aceCreateDomLine", {domline:domline, cls:cls}
).map(function (modifier) {
cls = modifier.cls;