Mercurial > lada > lada-client
diff app/view/window/DeleteProbe.js @ 999:f73ca04d73a7 stammdatengrids
Refactored Server URL
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 13 Jan 2016 14:50:28 +0100 |
parents | f220ba587c89 |
children | 8567d14dfc9d |
line wrap: on
line diff
--- a/app/view/window/DeleteProbe.js Thu Dec 10 08:30:14 2015 +0100 +++ b/app/view/window/DeleteProbe.js Wed Jan 13 14:50:28 2016 +0100 @@ -50,8 +50,7 @@ handler: function() { Ext.Ajax.request({ - //TODO Use correct URLs - url: 'lada-server/probe/'+me.record.get('id'), + url: 'lada-server/rest/probe/'+me.record.get('id'), method: 'DELETE', success: function(response) { var json = Ext.JSON.decode(response.responseText);