pass type to getItem function
This commit is contained in:
parent
6ecbff5fce
commit
b520654e31
1 changed files with 2 additions and 2 deletions
|
@ -733,7 +733,7 @@ Ox.URL = function(options) {
|
||||||
parseBeyondItem();
|
parseBeyondItem();
|
||||||
} else {
|
} else {
|
||||||
// test for item id or name
|
// 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;
|
state.item = item;
|
||||||
if (item) {
|
if (item) {
|
||||||
parts.shift();
|
parts.shift();
|
||||||
|
@ -820,7 +820,7 @@ Ox.URL = function(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function parseBeyondSpan() {
|
function parseBeyondSpan() {
|
||||||
Ox.Log('Core', 'pBS', state)
|
Ox.Log('Core', 'pBS', state, parts)
|
||||||
var sortKeyIds, sortParts;
|
var sortKeyIds, sortParts;
|
||||||
if (parts.length) {
|
if (parts.length) {
|
||||||
sortParts = parts[0].split(',');
|
sortParts = parts[0].split(',');
|
||||||
|
|
Loading…
Reference in a new issue