diff options
author | Simon B @piratpartiet <simonb@redhog.org> | 2010-04-21 10:55:30 +0200 |
---|---|---|
committer | Simon B @piratpartiet <simonb@redhog.org> | 2010-04-21 10:55:30 +0200 |
commit | e794aa43d7977aa58a7ef8704ac212008e0280e9 (patch) | |
tree | 638dd5373f6d1f95d90ff3aa336ba9d4300b9018 /infrastructure/ace/www/domline.js | |
parent | 9405fe0a588018bf55b82016c1ae246def1cca19 (diff) | |
download | etherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.tar.gz etherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.tar.xz etherpad-e794aa43d7977aa58a7ef8704ac212008e0280e9.zip |
Fix IFRAME bug. Closes #70
Diffstat (limited to '')
-rw-r--r-- | infrastructure/ace/www/domline.js | 2 |
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; |