Mark-H
(Mhenley)
March 19, 2007, 11:32pm
1
I have been getting an undefined variable report from firebug when the wysiwyg editor is loaded. It is located on line 483 of wysiwyg.inc
HTMLArea.prototype.updateToolbar = function(allEnabled, noStatus)
Where noStatus is undefined
updateToolbar(false, undefined)
without knowledge of all these js functions, I've had a quick check I can only find updateToolbar being called with only one variable being passed in -boolean of either true or false- is this a bug or our setup?
gsherwood
(Greg Sherwood)
March 20, 2007, 2:34am
2
This code is very old, and not originally written by us. It is very likely it is just a warning that is ignored.
aleks
(Aleks Bochniak)
March 20, 2007, 3:15am
3
have you fixed this yet Mark?
gsherwood
(Greg Sherwood)
March 20, 2007, 6:03am
4
Should have added that you can submit this as a bug at:
http://bugs.matrix.squiz.ne
Yeah, I told him to already, but he didn't listen to me.
aleks
(Aleks Bochniak)
March 20, 2007, 11:52pm
6
i guess we should upgrade to 3.12.2 before logging a bug?
[quote]i guess we should upgrade to 3.12.2 before logging a bug?
[right][post=“15234”]<{POST_SNAPBACK}>[/post][/right][/quote]
You should generally, yes. Log the bug anyway.
aleks
(Aleks Bochniak)
March 23, 2007, 12:00am
8
Can't you just log it for us, Avi?
dendle
(Adendle)
March 23, 2007, 12:10am
9
[quote]Can’t you just log it for us, Avi?
[right][post=“15277”]<{POST_SNAPBACK}>[/post][/right][/quote]
hmmm, please log the bug Aleks
Mark-H
(Mhenley)
March 23, 2007, 1:10am
10
Bug logged:
[bug]2265 Undefined variable in wysiwyg.inc[/bug]