Board Logo

problems with quotation marks
morlor - 1/2/2004 at 09:06 PM

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 - 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);
}


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/