You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/07/25 01:11:42 UTC

[34/38] git commit: CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI

CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/374be31b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/374be31b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/374be31b

Branch: refs/heads/vpc
Commit: 374be31b63f6ea0f835495933730358380745a56
Parents: 64cfdc5
Author: Pranav Saxena <pr...@citrix.com>
Authored: Fri Jul 13 12:32:38 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Fri Jul 13 12:32:38 2012 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/374be31b/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index b01d01e..60f701b 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -1261,6 +1261,10 @@
       return true;
     });
 
+    $listView.find('#filterBy').bind('click',function(event) {
+     page = 1; //Handling the case to display more than 20 entities on a page while switching between panels
+     return page;
+    });
     var search = function() {
       loadBody(
         $table,