From c869231d34d1be15baf492a4a2c1571f6c1ba921 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 5 Mar 2013 14:31:21 +0000 Subject: [PATCH] fix a bug in Ox.URL --- source/Ox.UI/js/Core/URL.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 7e9f155f..b5e88d55 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -471,7 +471,9 @@ Ox.URL = function(options) { }); } return hash.anchor || hash.query - ? '#' + hash.anchor + ( + ? '#' + ( + hash.anchor || '' + ) + ( hash.query ? '?' + Ox.serialize(obj) : '' ) : '';