Hi Benjamin,
> The expected text in the alert box is a mailtolink.
> But it seam to take only the char following the % symbol.
> So my question is do you now that beaheavior and is it a normal beahavior ?
Use the Source, Luke. ;)
format : function(pattern, args)
{
var str = pattern;
for (var i=0; i<args.length; i++) {
// be sure to always use a string for replacement.
str = str.replace(new RegExp("%" + (i + 1), "g"), args[i] + "");
}
return str;
},
Looks like bug cause it will never reach %10 as it already was matched
and replaced against %1. Simplest fix would be to reverse iteration.
Regards,
P.
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel