also replace %20 in item id in url

This commit is contained in:
j 2013-08-17 15:48:01 +02:00
parent c5a8d7a79e
commit 610720254d

View file

@ -532,7 +532,7 @@ Ox.URL = function(options) {
parts.push(state.type); parts.push(state.type);
} }
if (state.item) { if (state.item) {
parts.push(state.item); parts.push(encodeValue(state.item));
} }
if (state.type && self.options.views[state.type][ if (state.type && self.options.views[state.type][
state.item ? 'item' : 'list' state.item ? 'item' : 'list'