Project

General

Profile

Bug #25226 ยป 17828.diff

Administrator Admin, 2011-03-02 16:17

View differences:

t3lib/js/extjs/components/pagetree/javascript/actions.js
* @return {void}
*/
singleClick: function(node, tree) {
tree.currentSelectedNode = node;
var separator = '?';
if (currentSubScript.indexOf('?') !== -1) {
separator = '&';
t3lib/js/extjs/components/pagetree/javascript/tree.js
treeEditor: null,
/**
* Currently Selected Node
*
* @type {Ext.tree.TreeNode}
*/
currentSelectedNode: null,
/**
* Enable the drag and drop feature
*
* @cfg {Boolean}
t3lib/js/extjs/components/pagetree/javascript/treeeditor.js
*
* @type {Boolean}
*/
ignoreNoChange: true,
ignoreNoChange: false,
/**
* Edit delay
......
complete: {
fn: function(node, newValue, oldValue) {
this.editNode.ownerTree.commandProvider.saveTitle(node, this.updatedValue, oldValue, this);
if (newValue === oldValue) {
this.fireEvent('canceledit', this);
return false;
}
this.editNode.getOwnerTree().commandProvider.saveTitle(node, this.updatedValue, oldValue, this);
}
},
......
fn: function(element, value) {
this.field.selectText();
}
},
canceledit: function() {
var tree = this.editNode.getOwnerTree();
if (tree.currentSelectedNode) {
tree.currentSelectedNode.select();
}
}
},
    (1-1/1)