From d13d0e3d3f33ec5ae9838945bf6c8c75cd3cafa3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 16 Feb 2012 21:46:12 +0530 Subject: [PATCH] uri decode map query value, fixes #432 --- source/Ox.UI/js/Core/Ox.URL.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/Ox.URL.js b/source/Ox.UI/js/Core/Ox.URL.js index 432f0ec3..1b6d6190 100644 --- a/source/Ox.UI/js/Core/Ox.URL.js +++ b/source/Ox.UI/js/Core/Ox.URL.js @@ -526,7 +526,7 @@ Ox.URL = function(options) { } if (!state.span && /^[A-Z@]/.test(parts[0])) { // test for span id or name - self.options.getSpan(state.item, state.view, parts[0].replace(/%20/g, ' '), function(span, view) { + self.options.getSpan(state.item, state.view, decodeValue(parts[0]), function(span, view) { Ox.Log('Core', 'span/view', span, view) if (span) { if (!state.view) { @@ -708,4 +708,4 @@ Ox.URL = function(options) { return that; -}; \ No newline at end of file +};