Return-Path: X-Original-To: apmail-portals-pluto-scm-archive@www.apache.org Delivered-To: apmail-portals-pluto-scm-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 038FA10279 for ; Tue, 27 Jan 2015 08:01:47 +0000 (UTC) Received: (qmail 74035 invoked by uid 500); 27 Jan 2015 08:01:47 -0000 Delivered-To: apmail-portals-pluto-scm-archive@portals.apache.org Received: (qmail 73938 invoked by uid 500); 27 Jan 2015 08:01:47 -0000 Mailing-List: contact pluto-scm-help@portals.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list pluto-scm@portals.apache.org Received: (qmail 73436 invoked by uid 99); 27 Jan 2015 08:01:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 08:01:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2244EE0EE5; Tue, 27 Jan 2015 08:01:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: msnicklous@apache.org To: pluto-scm@portals.apache.org Date: Tue, 27 Jan 2015 08:02:03 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [19/19] portals-pluto git commit: fixed problem in portlet hub implementation state decoding fixed problem in portlet hub implementation state decoding Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/e6cdc822 Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/e6cdc822 Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/e6cdc822 Branch: refs/heads/PortletHub Commit: e6cdc8225ae7a80aa36a11ee0150194e7d813dd9 Parents: 1b606b0 Author: Scott Nicklous Authored: Mon Jan 26 21:17:42 2015 +0100 Committer: Scott Nicklous Committed: Mon Jan 26 21:17:42 2015 +0100 ---------------------------------------------------------------------- pluto-portal/src/main/webapp/portletHubImpl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/e6cdc822/pluto-portal/src/main/webapp/portletHubImpl.js ---------------------------------------------------------------------- diff --git a/pluto-portal/src/main/webapp/portletHubImpl.js b/pluto-portal/src/main/webapp/portletHubImpl.js index 6027568..ff27149 100644 --- a/pluto-portal/src/main/webapp/portletHubImpl.js +++ b/pluto-portal/src/main/webapp/portletHubImpl.js @@ -686,7 +686,7 @@ var portlet = portlet || {}; ps = JSON.parse(ustr); for (pid in ps.portlets) { - if (ps.hasOwnProperty(pid)) { + if (ps.portlets.hasOwnProperty(pid)) { npids++; nstate = ps.portlets[pid].state; ostate = pageState.portlets[pid].state;