# HG changeset patch # User Raimund Renkert # Date 1477493407 -7200 # Node ID 4b456449029c9348167b1deeb699af8fc0f5e75e # Parent 1136d108d855379fcaf7cf82d2cbb341e834ed2b Increased request timeout and set loading mask. diff -r 1136d108d855 -r 4b456449029c app/view/window/FileUpload.js --- 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')); } },