HOR-3509 Unnecessary file change, reverted
This commit is contained in:
@@ -2130,47 +2130,3 @@ Ext.onReady(function() {
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
var te = new Ext.tree.TreeEditor(
|
||||
treepanelmain,
|
||||
new Ext.form.TextField({
|
||||
allowBlank: false,
|
||||
blankText: 'A text is required'//,
|
||||
// validator: function (value) {
|
||||
// console.log('validator');
|
||||
// },
|
||||
// listeners: {
|
||||
// change: function (f, neval, olval) {
|
||||
// console.log('change');
|
||||
// //f.setValue(Ext.util.Format.htmlEncode(neval));
|
||||
// },
|
||||
// valid: function (f, neval, olval) {
|
||||
// console.log('valid');
|
||||
// }
|
||||
// },
|
||||
// renderer:myrender
|
||||
}), {
|
||||
// editDelay: 100,
|
||||
// revertInvalid: false,
|
||||
listeners:{
|
||||
complete:function(){
|
||||
console.log("okokoko111");
|
||||
},
|
||||
destroy:function(){
|
||||
console.log("my removido124314234");
|
||||
}
|
||||
},
|
||||
renderer:myrender
|
||||
});
|
||||
|
||||
var myrender = function(value){
|
||||
return "<div>"+value+"5345345345</div>";
|
||||
};
|
||||
|
||||
Ext.override(Ext.form.field.Base, {
|
||||
setValue: function(val) {
|
||||
console.log("holal");
|
||||
val = Ext.util.Format.htmlDecode(val);
|
||||
return this.callParent([val]);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user