morlor
Newbie
Posts: 1
Registered: 1/2/2004
Member Is Offline
|
| posted on 1/2/2004 at 09:06 PM |
|
|
problems with quotation marks
It seems it's not possible to use menu items that contain quotation marks "" and maybe some other characters like <>. Is there a
bug? I think it's caused by function item_upstatus(). When I remove this function, it seems to be O.K but I'm affraid this could have some
negative side effect.
Thanks for answer.
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 1/5/2004 at 09:07 AM |
|
|
Please use escaped strings for setting status bar.
function item_upstatus (b_clear) {
window.setTimeout('window.status=unescape("' + (b_clear ? '' : escape(this.a_config[0]) + (this.a_config[1] ? '('+ escape(this.a_config[1]) + ')' : '')) + '")', 10);
}
|
|
|