From b520654e315768a49493bafab1758399c327a17b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 16 Feb 2013 01:21:08 +0000 Subject: [PATCH] pass type to getItem function --- source/Ox.UI/js/Core/URL.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 2a07c7df..f977d21e 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -733,7 +733,7 @@ Ox.URL = function(options) { parseBeyondItem(); } else { // test for item id or name - self.options.getItem(parts[0].replace(/%20/g, ' '), function(item) { + self.options.getItem(state.type, parts[0].replace(/%20/g, ' '), function(item) { state.item = item; if (item) { parts.shift(); @@ -820,7 +820,7 @@ Ox.URL = function(options) { } } function parseBeyondSpan() { - Ox.Log('Core', 'pBS', state) + Ox.Log('Core', 'pBS', state, parts) var sortKeyIds, sortParts; if (parts.length) { sortParts = parts[0].split(',');