TreePanel not functioning
Sorry for any inconvenience.
By "absolute" you mean root relative, right?
Root relative:
/images/s.gif
instead of absolute:
http://mydomain.com/images/s.gif
in the header it works fine on my local machine.
For Online Reason maybe Jack will host that little s.gif for all geeks worldwide. :shock:
Under the pic property in firefox the pic url ist yui-ext.com/s.gif.
Anyone with the same problem?
the css urls (../images/default/s.gif) are all ok.
ah, got it : http://www.yui-ext.com/forum/viewtopic.php?t=2829 :D
after updating a node with the editor the node is not reloaded or updated, any ideas?
following code i'm using
var ge = new Ext.Editor(new Ext.form.TextField({
allowBlank:false,
blankText:'A name is required',
width:100
}), {
parentEl: tree.getEl()
});
// listen for a dblclick on a node
// and start editing. return false to cancel the default click action.
tree.on('dblclick', function(node){
if(tree.getSelectionModel().isSelected(node)){
ge.startEdit(node.ui.textNode);
return false;
}
});
// Update value in rs
ge.on('complete', function () {
YAHOO.util.Connect.asyncRequest('GET', 'saveNode.php?newName=' + ge.getValue() +'&renameId=' + tree.getSelectionModel().getSelectedNode().id);
});
#If you have any other info about this subject , Please add it free.# |