bluethinking
20 Jul 2007, 7:26 PM
Error:
=====
=====================================================================
_17.argument has no properties
UpdateManager(Object responseText=Success responseXML=document)ext-core.js (line 28)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],
undefined)ext-yui-adapter.j... (line 10)
cb()data.js (line 18)
EventManager(Object browserEvent=Event resize button=-1 type=resize)ext-core.js (line 18)
Event(load )yui-utilities.js (line 14)
[Break on this error] Ext.UpdateManager=function(el,_2){el=Ext.get(el);if(!_2&&el.updateManager){retur...
test with "ext-all-debug.js"
=====================================================================
response.argument has no properties
processSuccess(Object responseText=Success responseXML=document)ext-all-debug.js (line 5311)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],
undefined)ext-yui-adapter.j... (line 10)
cb()ext-all-debug.js (line 5089)
h(Object browserEvent=Event resize button=-1 type=resize)ext-all-debug.js (line 1477)
Event(load )yui-utilities.js (line 14)
[Break on this error] if(response.argument.form && response.argument.reset){
=====================================================================
It works well in the version of "Ext1.0.1a".
And didn't work in the version of "Ext1.1 rc1".
var el = Ext.get("divResult");
var mgr = el.getUpdateManager();
mgr.showLoadIndicator = false;//disable loading
startUploadFileBar();
mgr.formUpdate("frmUpload…", "Upload…Ctrl.do", false, function(){
var result = arguments[2].responseText;
if(result == "Success" || result == "…Null"){
$("divResult").innerHTML = "<font color='#3399FF'>successfully.</font>";
window.location = "query….html";
}
});
=====
=====================================================================
_17.argument has no properties
UpdateManager(Object responseText=Success responseXML=document)ext-core.js (line 28)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],
undefined)ext-yui-adapter.j... (line 10)
cb()data.js (line 18)
EventManager(Object browserEvent=Event resize button=-1 type=resize)ext-core.js (line 18)
Event(load )yui-utilities.js (line 14)
[Break on this error] Ext.UpdateManager=function(el,_2){el=Ext.get(el);if(!_2&&el.updateManager){retur...
test with "ext-all-debug.js"
=====================================================================
response.argument has no properties
processSuccess(Object responseText=Success responseXML=document)ext-all-debug.js (line 5311)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],
undefined)ext-yui-adapter.j... (line 10)
cb()ext-all-debug.js (line 5089)
h(Object browserEvent=Event resize button=-1 type=resize)ext-all-debug.js (line 1477)
Event(load )yui-utilities.js (line 14)
[Break on this error] if(response.argument.form && response.argument.reset){
=====================================================================
It works well in the version of "Ext1.0.1a".
And didn't work in the version of "Ext1.1 rc1".
var el = Ext.get("divResult");
var mgr = el.getUpdateManager();
mgr.showLoadIndicator = false;//disable loading
startUploadFileBar();
mgr.formUpdate("frmUpload…", "Upload…Ctrl.do", false, function(){
var result = arguments[2].responseText;
if(result == "Success" || result == "…Null"){
$("divResult").innerHTML = "<font color='#3399FF'>successfully.</font>";
window.location = "query….html";
}
});