changeset 233:f60472df54e3 M1

Added Listener for save event in edit dialog.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 17 Jul 2013 12:14:57 +0200
parents 6ac95f587e10
children d4894ed5045a
files app/controller/Messungen.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/Messungen.js	Wed Jul 17 12:09:28 2013 +0200
+++ b/app/controller/Messungen.js	Wed Jul 17 12:14:57 2013 +0200
@@ -29,6 +29,9 @@
             'messungencreate button[action=save]': {
                 click: this.saveMessung
             },
+            'messungenedit button[action=save]': {
+                click: this.saveMessung
+            },
             'messungencreate form': {
                 savesuccess: this.createSuccess,
                 savefailure: this.createFailure

http://lada.wald.intevation.org