Mercurial > lada > lada-client
changeset 215:19d79b41f95d
Fixed issue22
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 15 Jul 2013 15:30:42 +0200 |
parents | 38e84783785f |
children | 6aedf2026fb4 |
files | app/controller/Orte.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controller/Orte.js Fri Jul 12 15:58:02 2013 +0200 +++ b/app/controller/Orte.js Mon Jul 15 15:30:42 2013 +0200 @@ -71,7 +71,7 @@ success: function(batch, options) { if (newortdetail) { // Get ID from new created ortdetail and set it to the ort - var response = options.operations.update[0].store.proxy.reader.jsonData; + var response = options.operations.create[0].store.proxy.reader.jsonData; form.model.set('ortId', response.ortId); } form.commit();