[Lada-commits] [PATCH 1 of 2] Renamed function edit to gridSave

Wald Commits scm-commit at wald.intevation.org
Fri Mar 27 09:38:34 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1427442217 -3600
# Node ID 1e76aec7281538528bb0c17963f9f4e18cf0ea71
# Parent  04f266eb2fd51a0ab2b06e48c33aa5177f9fa849
Renamed function edit to gridSave

diff -r 04f266eb2fd5 -r 1e76aec72815 app/controller/grid/MKommentar.js
--- a/app/controller/grid/MKommentar.js	Thu Mar 26 17:30:55 2015 +0100
+++ b/app/controller/grid/MKommentar.js	Fri Mar 27 08:43:37 2015 +0100
@@ -12,7 +12,7 @@
     init: function() {
         this.control({
             'mkommentargrid': {
-                edit: this.edit,
+                edit: this.gridSave,
                 canceledit: this.cancelEdit
             },
             'mkommentargrid button[action=add]': {
@@ -24,7 +24,7 @@
         });
     },
 
-    edit: function(editor, context) {
+    gridSave: function(editor, context) {
         context.record.save({
             success: function(record, response) {
                 context.grid.initData();


More information about the Lada-commits mailing list