-
After insert
<script type='text/javascript'>
Ext.BLANK_IMAGE_URL="http://localhost/blabla../resources/images/default/s.gif";
</script>
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:
-
Hi,
after updating a node with the editor the node is not reloaded or updated, any ideas?
following code i'm using
Code:
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);
});
-
There's a config option: updateEl:true