dlg.haveProgress = 1;
var uid = _this.form.findField('UPLOAD_IDENTIFIER').getValue();
- Pman.request({
+ new Pman.Request({
url : baseURL + '/Core/UploadProgress.php',
params: {
id : uid
},
method: 'GET',
- success : function(data){
+ success : function(res){
//console.log(data);
-
+ var data = res.data;
if (dlg.haveProgress == 2) {
// it's been closed elsewhere..
return;
actionfailed : function (_self, act)
{
_this.dialog.uploadComplete = true;
- _this.dialog.el.unmask();
+ // _this.dialog.el.unmask();
// error msg???
_this.dialog.haveProgress = 2;
if (act.type == 'submit') {
labelWidth : 140,
method : 'POST',
style : 'margin:10px;',
+ timeout : 300,
url : baseURL + '/Roo/Images.php',
items : [
{