make 'false' false

This commit is contained in:
j 2013-02-12 07:07:53 +00:00
parent e9b2be3bf8
commit 103a05219a

View file

@ -235,6 +235,9 @@ Ox.load('UI', {
vars.forEach(function(v) {
v = v.split('=');
query[v[0]] = decodeURIComponent(v[1]);
if (query[v[0]] == 'false') {
query[v[0]] = false;
}
});
return Ox.extend({}, defaults, query);