Mercurial > lada > lada-client
comparison app/controller/grid/ProbeList.js @ 1246:a7dc14e3b976
Increased timeout for probe export request.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 09 Nov 2016 10:56:38 +0100 |
parents | d391f055022e |
children | f961f94495c8 |
comparison
equal
deleted
inserted
replaced
1245:cadd1c113bd0 | 1246:a7dc14e3b976 |
---|---|
115 } | 115 } |
116 var me = this; | 116 var me = this; |
117 Ext.Ajax.request({ | 117 Ext.Ajax.request({ |
118 url: 'lada-server/data/export/laf', | 118 url: 'lada-server/data/export/laf', |
119 jsonData: {'proben': proben}, | 119 jsonData: {'proben': proben}, |
120 timeout: 2 * 60 * 1000, | |
120 success: function(response) { | 121 success: function(response) { |
121 var content = response.responseText; | 122 var content = response.responseText; |
122 var blob = new Blob([content],{type: 'text/plain'}); | 123 var blob = new Blob([content],{type: 'text/plain'}); |
123 saveAs(blob, 'export.laf'); | 124 saveAs(blob, 'export.laf'); |
124 }, | 125 }, |