Commit 2da2119e32071a825588366376afd92ce7a7806c

Authored by Benjamin Renard
1 parent 1d774a30

Minor fix

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
js/app/views/OperationsTT.js
@@ -67,7 +67,7 @@ Ext.define('amdaUI.OperationsTT', { @@ -67,7 +67,7 @@ Ext.define('amdaUI.OperationsTT', {
67 me.parent.TTGrid.getStore().reload(); 67 me.parent.TTGrid.getStore().reload();
68 68
69 // Update historic field 69 // Update historic field
70 - if(!this.isCat){ 70 + if(!me.isCat){
71 var history = me.parent.formPanel.getForm().findField('history').getValue(); 71 var history = me.parent.formPanel.getForm().findField('history').getValue();
72 if (extend != 0) { 72 if (extend != 0) {
73 history += " \n Extended by "+ dir*extendForm + " " + extendUnit; 73 history += " \n Extended by "+ dir*extendForm + " " + extendUnit;
@@ -224,4 +224,4 @@ Ext.define('amdaUI.OperationsTT', { @@ -224,4 +224,4 @@ Ext.define('amdaUI.OperationsTT', {
224 Ext.apply (this , Ext.apply (this.initialConfig, config)); 224 Ext.apply (this , Ext.apply (this.initialConfig, config));
225 this.callParent(arguments); 225 this.callParent(arguments);
226 } 226 }
227 - });  
228 \ No newline at end of file 227 \ No newline at end of file
  228 + });