comparison app/controller/grid/Probenzusatzwert.js @ 815:23d2204eaf7c

fixed a bug where the window is not refreshed.
author Dustin Demuth <dustin@intevation.de>
date Thu, 28 May 2015 16:23:51 +0200
parents 6e28ebbe1a73
children 2362f8ab1e9f
comparison
equal deleted inserted replaced
814:af54733a6d48 815:23d2204eaf7c
96 Ext.MessageBox.confirm('Zusatzwert löschen', 'Sind Sie sicher?', function(btn) { 96 Ext.MessageBox.confirm('Zusatzwert löschen', 'Sind Sie sicher?', function(btn) {
97 if (btn === 'yes') { 97 if (btn === 'yes') {
98 selection.destroy({ 98 selection.destroy({
99 success: function() { 99 success: function() {
100 button.up('window').initData(); 100 button.up('window').initData();
101 grid.initData();
102 }, 101 },
103 failure: function(request, response) { 102 failure: function(request, response) {
104 var json = response.request.scope.reader.jsonData; 103 var json = response.request.scope.reader.jsonData;
105 if (json) { 104 if (json) {
106 if (json.message){ 105 if (json.message){

http://lada.wald.intevation.org