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 <msnicklous@apache.org>
Authored: Mon Jan 26 21:17:42 2015 +0100
Committer: Scott Nicklous <msnicklous@apache.org>
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;
|