By the way the regex was incorrect, here is the correct one, in the code i
merged:
var url = $.trim(this.value);
if(/^www\./i.test(url))
url = 'http://'+url;
window.open(url);
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-correct-fieldurl-tta/+merge/101541
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-correct-fieldurl-tta.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp