Mercurial > lada > lada-client
changeset 1221:4b456449029c
Increased request timeout and set loading mask.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 26 Oct 2016 16:50:07 +0200 |
parents | 1136d108d855 |
children | 4e62bc6e7250 |
files | app/view/window/FileUpload.js |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/window/FileUpload.js Wed Oct 26 16:49:43 2016 +0200 +++ b/app/view/window/FileUpload.js Wed Oct 26 16:50:07 2016 +0200 @@ -82,12 +82,14 @@ 'X-OPENID-PARAMS': Lada.openIDParams }, method: 'POST', + timeout: 600 * 1000, url: 'lada-server/data/import/laf' }); this.mon(uploader, 'uploadsuccess', win.uploadSuccess, win); this.mon(uploader, 'uploadfailure', win.uploadFailure, win); if (button.up('window').file !== null) { uploader.uploadItem(button.up('window').file); + win.setLoading(Lada.getApplication().bundle.getMsg('processingData')); } },