[Lada-commits] [PATCH 1 of 2] Fixed issue22

Wald Commits scm-commit at wald.intevation.org
Mon Jul 15 15:31:53 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373895042 -7200
# Node ID 19d79b41f95d9cd66efdfd55da68ffbb150d3d22
# Parent  38e84783785f3307c139334d8d463566785f6f93
Fixed issue22

diff -r 38e84783785f -r 19d79b41f95d app/controller/Orte.js
--- 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();


More information about the Lada-commits mailing list