Mercurial > lada > lada-client
comparison app/controller/grid/ProbeList.js @ 999:f73ca04d73a7 stammdatengrids
Refactored Server URL
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 13 Jan 2016 14:50:28 +0100 |
parents | 56470a075e6e |
children | dbd435256f77 |
comparison
equal
deleted
inserted
replaced
984:b21421ba6917 | 999:f73ca04d73a7 |
---|---|
99 for (var i = 0; i < selection.length; i++) { | 99 for (var i = 0; i < selection.length; i++) { |
100 proben.push(selection[i].get('id')); | 100 proben.push(selection[i].get('id')); |
101 } | 101 } |
102 var me = this; | 102 var me = this; |
103 Ext.Ajax.request({ | 103 Ext.Ajax.request({ |
104 url: 'lada-server/export/laf', | 104 url: 'lada-server/data/export/laf', |
105 jsonData: {'proben': proben}, | 105 jsonData: {'proben': proben}, |
106 success: function(response) { | 106 success: function(response) { |
107 var content = response.responseText; | 107 var content = response.responseText; |
108 var blob = new Blob([content],{type: 'text/plain'}); | 108 var blob = new Blob([content],{type: 'text/plain'}); |
109 saveAs(blob, 'export.laf'); | 109 saveAs(blob, 'export.laf'); |