mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Addition of password update/set API for JavaScript People object:
- changePassword(string oldpw, string newpw) - changes password for the current user only, old password must be supplied - setPassword(string userName, string password) - set the password for the given user - only executable by an admin user Fix up and clean up of my-sites.get.js so that IMAP favorites are only retrieved if the IMAP server is enabled git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,7 +42,6 @@ import javax.faces.event.FacesEvent;
|
|||||||
import org.alfresco.web.ui.common.PanelGenerator;
|
import org.alfresco.web.ui.common.PanelGenerator;
|
||||||
import org.alfresco.web.ui.common.Utils;
|
import org.alfresco.web.ui.common.Utils;
|
||||||
import org.alfresco.web.ui.common.WebResources;
|
import org.alfresco.web.ui.common.WebResources;
|
||||||
import org.apache.myfaces.el.MethodBindingImpl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinr
|
* @author kevinr
|
||||||
@@ -335,7 +334,7 @@ public class UIPanel extends UICommand
|
|||||||
this.titleBgcolor = (String)values[6];
|
this.titleBgcolor = (String)values[6];
|
||||||
this.titleBorder = (String)values[7];
|
this.titleBorder = (String)values[7];
|
||||||
this.expandedTitleBorder = (String)values[8];
|
this.expandedTitleBorder = (String)values[8];
|
||||||
this.expandedActionListener = (MethodBindingImpl) restoreAttachedState(context, values[9]);
|
this.expandedActionListener = (MethodBinding)restoreAttachedState(context, values[9]);
|
||||||
this.facetsId = (String)values[10];
|
this.facetsId = (String)values[10];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user