Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A04109F67 for ; Tue, 24 Jul 2012 23:11:49 +0000 (UTC) Received: (qmail 30556 invoked by uid 500); 24 Jul 2012 23:11:43 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 30516 invoked by uid 500); 24 Jul 2012 23:11:43 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 29951 invoked by uid 99); 24 Jul 2012 23:11:42 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 23:11:42 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B060E186B0; Tue, 24 Jul 2012 23:11:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alena1108@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [34/38] git commit: CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI Message-Id: <20120724231142.B060E186B0@tyr.zones.apache.org> Date: Tue, 24 Jul 2012 23:11:42 +0000 (UTC) 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 Authored: Fri Jul 13 12:32:38 2012 +0530 Committer: Pranav Saxena 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,