diff -r 573c7ca752e0 -r a8af9da7c622 src/js/utils.js --- a/src/js/utils.js Mon Mar 19 18:46:17 2012 +0100 +++ b/src/js/utils.js Tue Mar 20 21:17:48 2012 +0100 @@ -125,8 +125,12 @@ replace(/\)/g, '%29').replace(/\*/g, '%2A'); } -IriSP.jqId = function (myid) { - return IriSP.jQuery('#' + myid.replace(/(:|\.)/g,'\\$1')); +IriSP.jqEscape = function(text) { + return text.replace(/(:|\.)/g,'\\$1') +} + +IriSP.jqId = function (text) { + return IriSP.jQuery('#' + IriSP.jqEscape(text)); } IriSP.__guidCounter = 0;