From 66a7704144d7ea69b1891fd5e8ba8a6e026f301d Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 14 Jul 2010 17:52:53 +0200 Subject: [PATCH] some more url parsing --- pandora/static/js/pandora.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandora/static/js/pandora.js b/pandora/static/js/pandora.js index 82289c5b9..07fbea542 100755 --- a/pandora/static/js/pandora.js +++ b/pandora/static/js/pandora.js @@ -189,12 +189,10 @@ $(function() { ret = parseFind(subconditions[parseInt(v.substr(1, v.length - 2))]); } else { kv = ((v.indexOf(":") > - 1 ? "" : ":") + v).split(":"); - Ox.print("kv", kv) ret = $.extend({ key: kv[0] }, parseValue(kv[1])); } - Ox.print("ret", ret) return ret; }); return find; @@ -217,7 +215,7 @@ $(function() { value.operator += "$"; value.value = value.value.substr(0, value.value.length - 1); } - value.operator.replace("^$", "="); + value.operator = value.operator.replace("^$", "="); return value; }