[Lada-commits] [PATCH 6 of 7] Added Listener for save event in edit dialog

Wald Commits scm-commit at wald.intevation.org
Wed Jul 17 12:16:42 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1374056097 -7200
# Node ID f60472df54e39d282991ff2d9c8fdcb4c705d11f
# Parent  6ac95f587e10175e755c731f5300ac5b9206fa81
Added Listener for save event in edit dialog.

diff -r 6ac95f587e10 -r f60472df54e3 app/controller/Messungen.js
--- 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


More information about the Lada-commits mailing list