From e86d25fd557d8307a2cc05a81832c96cd1b8beb8 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 21 Dec 2011 16:12:27 +0000 Subject: [PATCH] fix a bug where after clicking find on home screen, the URL would remain /home --- static/js/pandora/home.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/static/js/pandora/home.js b/static/js/pandora/home.js index 32bec4f3..3cbebf5c 100644 --- a/static/js/pandora/home.js +++ b/static/js/pandora/home.js @@ -110,11 +110,14 @@ pandora.ui.home = function() { pandora.$ui.findSelect.value('*'); pandora.$ui.findInput.value(value); that.fadeOutScreen(); - pandora.UI.set('find', { - conditions: value === '' - ? [] - : [{key: '*', value: value, operator: '='}], - operator: '&' + pandora.UI.set({ + page: '', + find: { + conditions: value === '' + ? [] + : [{key: '*', value: value, operator: '='}], + operator: '&' + } }); } })