anchor.diff:  			selectedTree = $.fn.zTree.init($("#selectedTree"), setting, selectedNodes);
   		});
   
  -		var setting = {view: {selectedMulti:false},
  +		var setting = {view: {selectedMulti:false,nameIsHTML:true,showTitle:false},
   				data: {simpleData: {enable: true}},
   				callback: {onClick: treeOnClick}};
   		
  
positive.code: 		</div>
  	</div>
  </body>
  </html>
negative.code: 					selectedTree.addNodes(null, treeNode);
  					ids.push(String(treeNode.id));
  				}
  			};
  		};
  		
  		function okAssign(){
  			// 删除''的元素
  			if(ids[0]==''){
  				ids.shift();
  				pre_ids.shift();
  			}
  			if(pre_ids.sort().toString() == ids.sort().toString()){
  				top.$.jBox.tip("未给角色【${role.name}】分配新成员！", 'info');
  				return;
  			};
  			
  			// 要修改的地方！！！
  			var submit = function (v, h, f) {
  			    if (v == 'ok'){
  			    	// 执行保存
  			    	var idsArr = "";
  			    	for (var i = 0; i<ids.length; i++) {
  			    		idsArr = (idsArr + ids[i]) + (((i + 1)== ids.length) ? '':',');
  			    	}
  			    	var postForm = document.createElement("form");
  			    	postForm.method="post" ; 
  			    	postForm.action="${ctx}/sys/role/assignrole?id=${role.id}&idsArr="+idsArr;
  			    	postForm.submit();
  			    	return true;
  			    } else if (v == 'cancel'){
  			    	// 取消
  			    	top.$.jBox.tip("取消分配操作！", 'info');
  			    };
  			};
  			
  			var tips="新增【"+ (ids.length-pre_ids.length) +"个】用户到角色【${role.name}】？";
  			if(ids.length==0){
  				tips="确定清空角色【${role.name}】下的所有人员？";
  			}
  			
  			top.$.jBox.confirm(tips, "分配确认", submit);
  		};
  		
  		function clearAssign(){
  			var submit = function (v, h, f) {
  			    if (v == 'ok'){
  					var tips="";
  					if(pre_ids.sort().toString() == ids.sort().toString()){
  						tips = "未给角色【${role.name}】分配新成员！";
  					}else{
  						tips = "已选人员清除成功！";
  					}
  					ids=pre_ids.slice(0);
  					selectedNodes=pre_selectedNodes;
  					$.fn.zTree.init($("#selectedTree"), setting, selectedNodes);
  			    	top.$.jBox.tip(tips, 'info');
  			    } else if (v == 'cancel'){
  			    	// 取消
  			    	top.$.jBox.tip("取消清除操作！", 'info');
  			    }
  			    return true;
  			};
  			tips="确定清除角色【${role.name}】下的已选人员？";
  			top.$.jBox.confirm(tips, "清除确认", submit);
  		};
  	</script>
  </head>
  <body>
  	<div id="assignRole" class="row-fluid span12">
  		<div class="span4" style="border-right: 1px solid #A8A8A8;">
  			<p>所在部门：</p>
  