mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Ajax pop-up summary panels used for nodes in portlet templates now have own template which launches into different window
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -13,10 +13,11 @@ var _zIndex = 99;
|
||||
* @param serverCall Server call to make on display e.g. NodeInfoBean.sendNodeInfo
|
||||
* @param argName Argument name to pass panel ID object as e.g. nodeRef
|
||||
*/
|
||||
Alfresco.PanelManager = function(serverCall, argName)
|
||||
Alfresco.PanelManager = function(serverCall, argName, template)
|
||||
{
|
||||
this.serverCall = serverCall;
|
||||
this.argName = argName;
|
||||
this.template = template;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,6 +30,7 @@ Alfresco.PanelManager.prototype =
|
||||
displayed: [],
|
||||
serverCall: null,
|
||||
argName: null,
|
||||
template: null,
|
||||
|
||||
/**
|
||||
* Request toggle of the open/close state of an info panel
|
||||
@@ -122,7 +124,8 @@ Alfresco.InfoPanel.prototype =
|
||||
failure: handleErrorYahoo, // global error handler
|
||||
argument: [this]
|
||||
},
|
||||
this.manager.argName + "=" + this.id);
|
||||
this.manager.argName + "=" + this.id +
|
||||
(this.manager.template != null ? ("&template=" + this.manager.template) : ""));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user