comparison app/controller/grid/Messung.js @ 705:cc9107d9be17

ResponseObject was not defined
author Dustin Demuth <dustin@intevation.de>
date Fri, 27 Mar 2015 14:42:46 +0100
parents 2d454bfef426
children 6e28ebbe1a73
comparison
equal deleted inserted replaced
704:2d454bfef426 705:cc9107d9be17
62 if (btn === 'yes') { 62 if (btn === 'yes') {
63 selection.destroy({ 63 selection.destroy({
64 success: function() { 64 success: function() {
65 button.up('window').initData(); 65 button.up('window').initData();
66 }, 66 },
67 failure: function() { 67 failure: function(request, response) {
68 var json = response.request.scope.reader.jsonData; 68 var json = response.request.scope.reader.jsonData;
69 if (json) { 69 if (json) {
70 if (json.message){ 70 if (json.message){
71 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.delete.title') 71 Ext.Msg.alert(Lada.getApplication().bundle.getMsg('err.msg.delete.title')
72 +' #'+json.message, 72 +' #'+json.message,

http://lada.wald.intevation.org