anchor.diff:  
   </div>
   
  -<aui:script use="aui-base,liferay-portlet-url,aui-io">
  -
  -	var required = false;
  -	
  -	Liferay.provide(window, '<portlet:namespace/>validateRequiredResult', function(dossierId, processStepId, processWorkflowId) {
  +<aui:script use="aui-base,liferay-portlet-url,aui-io,aui-loading-mask-deprecated">
  +
  +	function validateRequiredResult(dossierId, processStepId, processWorkflowId) {
   		
   		var A = AUI();
  +
  +		var actionNote = A.one('#<portlet:namespace />actionNote');
  +		
  +		console.log('actionNote: '+actionNote.val());
  +		
  +		if (actionNote.val() == ''){
  +			return 'xin-moi-nhap-y-kien';
  +		} else {
  +			return '';
  +		}
   		
   		var requiredDossierPartIds = [];
   		
   		var portletURL = Liferay.PortletURL.createURL('<%= PortletURLFactoryUtil.create(request, WebKeys.PROCESS_ORDER_PORTLET, themeDisplay.getPlid(), PortletRequest.ACTION_PHASE) %>');
   		portletURL.setParameter("javax.portlet.action", "validateAssignTask");
   		portletURL.setWindowState('<%=WindowState.NORMAL%>');
  -		var loadingMask = new A.LoadingMask(
  +		/* var loadingMask = new A.LoadingMask(
   			{
   				'strings.loading': '<%= UnicodeLanguageUtil.get(pageContext, "validate") %>',
   				target: A.one('#<portlet:namespace/>pofm')
   			}
   		);
   		
  -		loadingMask.show();
  +		loadingMask.show(); */
   		
   		A.io.request(
   			portletURL.toString(),
   			{
   				dataType : 'text/html',
   				method : 'POST',
  +				sync: true,
   			    data:{
   			    	<portlet:namespace/>dossierId : dossierId,
   			    	<portlet:namespace/>processStepId: processStepId,
  
positive.code: 								}
  							}
  						}
  						
  						loadingMask.hide();
  							
  					},
  			    	error: function(){}
  				}
  			}
  		);
  		
  		
  	},['aui-base','liferay-portlet-url','aui-io','aui-loading-mask-deprecated']);
  
  	Liferay.provide(window, '<portlet:namespace/>assignToUser', function(e) {
  		
  
negative.code: 				{
  					dataType : 'text/html',
  					method : 'POST',
  					sync : true,
  				    data:{
  				    },   
  				    on: {
  