changeset 700:1e76aec72815

Renamed function edit to gridSave
author Dustin Demuth <dustin@intevation.de>
date Fri, 27 Mar 2015 08:43:37 +0100
parents 04f266eb2fd5
children f0bc5387abcc
files app/controller/grid/MKommentar.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();

http://lada.wald.intevation.org