From 3ac95d5a673db544d7ceeaa9e5fca766cb738120 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 28 Jul 2008 02:43:02 -0400 Subject: [PATCH] #1485230: allow only images (by filename extension) in tinyMCE's images selector --- program/js/googiespell.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/googiespell.js b/program/js/googiespell.js old mode 100755 new mode 100644 index aa72931..8b9d1cc --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -1258,7 +1258,7 @@ GoogieSpell.prototype.decorateTextarea = function(id, /*optional*/spell_container_id, force_width) { var me = this; - + if(typeof(id) == "string") this.text_area = AJS.getElement(id); else -- Gitblit v1.9.1