rror: function(err) {
						$.messager.alert('Error',$.toJSON(err),'error');
					}
				});
			} else {
				if (node.children.length > 0) {
					$('#etree').tree(node.state === 'closed' ? 'expand' : 'collapse', node.target);
				}
				if (version === '2') {
					if (node.state === 'closed') {
						return
					}
					editor.setReadOnly(true);
                }

				$('#footer').html('&nbsp;');
				// clear child node
				var children = $('#etree').tree('getChildren', node.target);
				//if (node.state === '