[extensions-web] fsui: Force page back to 1 when selecting a new sort/filter



commit 2dff2af9aebef726d4115a42fe1552e150146c48
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jun 6 14:08:10 2012 -0400

    fsui: Force page back to 1 when selecting a new sort/filter

 sweettooth/static/js/fsui.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/js/fsui.js b/sweettooth/static/js/fsui.js
index 003d96d..5d134c2 100644
--- a/sweettooth/static/js/fsui.js
+++ b/sweettooth/static/js/fsui.js
@@ -30,6 +30,7 @@ function($, dbusProxy, hashParamUtils, modal) {
             text(text).
             click(function() {
                 hashParamUtils.setHashParam(key, value);
+                hashParamUtils.setHashParam('page', undefined);
                 closeUI();
             });
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]