Mercurial > lada > lada-client
comparison app/controller/FilterResult.js @ 809:3bc19188fc3a
Added some todos, Enhanced Proge-Generation Success Msg.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 22 May 2015 16:14:14 +0200 |
parents | b7484c7da2d4 |
children | a5373ee662e2 |
comparison
equal
deleted
inserted
replaced
808:c135201940ee | 809:3bc19188fc3a |
---|---|
131 var content = response.responseText; | 131 var content = response.responseText; |
132 var blob = new Blob([content],{type: 'text/plain'}); | 132 var blob = new Blob([content],{type: 'text/plain'}); |
133 saveAs(blob, 'export.laf'); | 133 saveAs(blob, 'export.laf'); |
134 }, | 134 }, |
135 failure: function() { | 135 failure: function() { |
136 // TODO handle Errors correctly, especially AuthenticationTimeouts | |
136 Ext.Msg.create(i18n.getMsg('err.msg.generic.title'), | 137 Ext.Msg.create(i18n.getMsg('err.msg.generic.title'), |
137 i18n.getMsg('err.msg.laf.filecreatefailed')); | 138 i18n.getMsg('err.msg.laf.filecreatefailed')); |
138 } | 139 } |
139 }); | 140 }); |
140 } | 141 } |