src/js/utils.js
branchnew-model
changeset 906 4b6e154ae8de
parent 887 6a04bd37da0a
child 988 eefd336335f9
--- a/src/js/utils.js	Mon May 21 13:17:47 2012 +0200
+++ b/src/js/utils.js	Tue May 22 16:49:48 2012 +0200
@@ -1,7 +1,7 @@
 /* utils.js - various utils that don't belong anywhere else */
 
 IriSP.jqEscape = function(_text) {
-    return text.replace(/(:|\.)/g,'\\$1');
+    return _text.replace(/(:|\.)/g,'\\$1');
 }
 
 IriSP.getLib = function(lib) {