extjs ie8有的地方会报错 对象不支持此属性或方法 ext-all.js
Globaltravel LV12 2013-07-10
{
text : '同意1',
hidden : true,
handler : function(){
var f = new Ext.ExtendFormPanel({
labelAlign : 'right',
defaults : {
anchor : '98%'
},autoHeight : true,
labelWidth : 60,
border : false,
bodyStyle : 'padding : 5 5 5 5',
buttonAlign : 'center',
items : [
{
name : 'rtitle',
fieldLabel : '审批主题',
xtype : 'textfield',
value : '领导审批通过',
readOnly : true
},
{
fieldLabel : '审批意见',
name : 'problem',
xtype : 'textarea',
value : '同意',
height : 120
}
],
buttons : [
{
text : '确定',
handler : function(){
Ext.Ajax.request({
url : ctx + 'commapply/finBuildApply.do',
params : {
applyid : this.record.get('id'),
rid : this.record.get('rid'),
sendman : this.record.get('sendman'),
title : f.findByType('textfield')[0].getValue(),
msg : f.findByType('textarea')[0].getValue()
},
success : function(response) {
Ext.Msg.alert('信息','流程单已审批通过......');
x.close();
this.ownerCt.close();
},scope : this
});
},scope : this
}
]
});
var x = new Ext.Window({
width : 350,
height : 230,
title : '领导审批',
modal : true,
layout : 'fit',
items : [f]
});
x.show();
}
x.show()去掉 就一点反映都没有 不然就是点了 报脚本错误