mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V1.3 to HEAD (3226:3232)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3226 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3232 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3409 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -35,11 +35,6 @@ public class ScriptHandler extends BaseActionHandler
|
|||||||
String id = (String)actionProps.get(PROP_SCRIPT);
|
String id = (String)actionProps.get(PROP_SCRIPT);
|
||||||
NodeRef scriptRef = new NodeRef(Repository.getStoreRef(), id);
|
NodeRef scriptRef = new NodeRef(Repository.getStoreRef(), id);
|
||||||
repoProps.put(ScriptActionExecutor.PARAM_SCRIPTREF, scriptRef);
|
repoProps.put(ScriptActionExecutor.PARAM_SCRIPTREF, scriptRef);
|
||||||
|
|
||||||
NavigationBean navBean = (NavigationBean)FacesHelper.getManagedBean(
|
|
||||||
FacesContext.getCurrentInstance(), "NavigationBean");
|
|
||||||
repoProps.put(ScriptActionExecutor.PARAM_SPACEREF,
|
|
||||||
navBean.getCurrentNode().getNodeRef());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void prepareForEdit(Map<String, Serializable> actionProps,
|
public void prepareForEdit(Map<String, Serializable> actionProps,
|
||||||
|
Reference in New Issue
Block a user