From e794aa43d7977aa58a7ef8704ac212008e0280e9 Mon Sep 17 00:00:00 2001 From: "Simon B @piratpartiet" Date: Wed, 21 Apr 2010 10:55:30 +0200 Subject: Fix IFRAME bug. Closes #70 --- infrastructure/ace/www/domline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'infrastructure/ace/www/domline.js') 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; -- cgit v1.2.3