dont use undefine variable

This commit is contained in:
j 2013-09-10 17:31:20 +02:00
parent 8d4c790446
commit 377acbb7eb

View file

@ -1496,8 +1496,8 @@ pandora.getSpan = function(state, val, callback) {
state.span = id; state.span = id;
state.view = 'calendar'; state.view = 'calendar';
} else if (canBePlace && isName) { } else if (canBePlace && isName) {
Ox.Log('URL', 'setting place id', '@' + str) Ox.Log('URL', 'setting place id', '@' + val)
state.span = '@' + str; state.span = '@' + val;
state.view = 'map'; state.view = 'map';
} }
callback(); callback();