se + '/delete',
						data: {'key': node.path, 'dir':node.dir},
						async: true,
						dataType: 'text',
						success: function(data) {
							resetValue();
							if (data === 'ok') {
								alertMessage('Delete success.');

								var pnode = $('#etree').tree('getParent', node.target);

								$('#etree').tree('remove', node.target);

								if (version === '3') {
                                    var isLeaf = $('#etree').tree('isLeaf', pnode.target);
                                    if (isLea