[client-event-handlers] Use me variable in saveRow()
authorCarlos Aristu <carlos.aristu@openbravo.com>
Thu, 16 Jun 2016 12:54:00 +0200
changeset 29797 f4ae96b9cee9
parent 29796 f7fd27fb10b9
child 29798 f9fb0877519c
[client-event-handlers] Use me variable in saveRow()
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js	Thu Jun 16 12:50:45 2016 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js	Thu Jun 16 12:54:00 2016 +0200
@@ -2120,7 +2120,7 @@
 
   saveRow: function () {
     var me = this;
-    if (this.existsAction('PRESAVE')) {
+    if (me.existsAction('PRESAVE')) {
       me.executePreSaveActions(function () {
         me.doSaveRow();
       });