文章列表
Extjs4.0.7与jQuery完善结合,弹出窗体。实现上传功能!
/*
*钱邓水
*Ext4 tree getStore bug
*/
//extends 重写treeStore 加载机智
Ext.override(Ext.data.TreeStore, {
load: function(options) {
options = options || {};
options.params = options.params || {};
var me = this,
node = options.node || me.tree.getRootNode(),root;
// 如果是根,就让它展开
// create one for ...
Ext.apply(Ext.form.VTypes,
{
password: function(val, field)
{
if (field.initialPassField)
{
var pwd = Ext.get(field.initialPassField);
return (val == pwd.getValue());
}
return true;
},
passwordText: ' ...