From 4bafb3aaa1d7ab5572e5ea4150a2f20e99e116d0 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 29 May 2012 17:50:14 +0100 Subject: [PATCH] Need e not event Wasn't working in Firefox, this fixes issue --- editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.php b/editor.php index c950c7d..216e216 100644 --- a/editor.php +++ b/editor.php @@ -79,7 +79,7 @@ function createNewCMInstance(num) { } }, onKeyEvent: function(instance, e) { - top.ICEcoder.redoChangedContent(event); + top.ICEcoder.redoChangedContent(e); top.ICEcoder.findReplace('find',true,false); top.ICEcoder.getCaretPosition(); top.ICEcoder.updateCharDisplay();