# HG changeset patch # User Torsten Irländer # Date 1372174258 -7200 # Node ID 04439f3feba33d33796f50f65f2e714c6725b18c # Parent 968806c1a3cbf402ca7226840582d11bde4b321b Use getEidi on url generation for delete requests. diff -r 968806c1a3cb -r 04439f3feba3 app/controller/Zusatzwerte.js --- a/app/controller/Zusatzwerte.js Tue Jun 25 17:30:01 2013 +0200 +++ b/app/controller/Zusatzwerte.js Tue Jun 25 17:30:58 2013 +0200 @@ -63,10 +63,7 @@ Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn){ if(btn === 'yes'){ var store = grid.getStore(); - var sprobenZusatz = selection.get('sprobenZusatz'); - var pzsId = sprobenZusatz.pzsId; - var probeId = selection.get('probeId'); - var deleteUrl = selection.getProxy().url + "/" + pzsId + "/" + probeId; + var deleteUrl = selection.getProxy().url + selection.getEidi(); Ext.Ajax.request({ url: deleteUrl, method: 'DELETE',