Need e not event

Wasn't working in Firefox, this fixes issue
This commit is contained in:
Matt Pass
2012-05-29 17:50:14 +01:00
parent 782aac54e4
commit 4bafb3aaa1

View File

@@ -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();