pass type to getItem function

This commit is contained in:
j 2013-02-16 01:21:08 +00:00
parent 6ecbff5fce
commit b520654e31

View file

@ -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(',');