From 45a46271f88196b9221796cf546ca478351e7971 Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Wed, 14 Jun 2017 14:31:54 +0200
Subject: [PATCH] isTimeTable var

---
 js/app/views/UploadPanelUI.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/app/views/UploadPanelUI.js b/js/app/views/UploadPanelUI.js
index a15662f..ba2591e 100644
--- a/js/app/views/UploadPanelUI.js
+++ b/js/app/views/UploadPanelUI.js
@@ -124,7 +124,7 @@ Ext.define('amdaUI.UploadPanelUI', {
 			var user_format_obj = radios.getValue();	  
 			var user_format = user_format_obj.filefrmt;
 		}
-		else if (this.TimeTable)
+		else if (this.isTimeTable)
 		{
 			var radios = Ext.getCmp('ttfrmt');
 			var user_format_obj = radios.getValue();	  
@@ -166,7 +166,7 @@ Ext.define('amdaUI.UploadPanelUI', {
 				user_format_obj.filefrmt = auto_format;    
 		} else  if (this.isTimeTable && user_format !== auto_format) {
 				user_format_obj.ttfrmt = auto_format;
-		} else if (!this.File && !this.TimeTable && user_format !== auto_format) {
+		} else if (!this.isFile && !this.isTimeTable && user_format !== auto_format) {
 			user_format_obj.catfrmt = auto_format;
 		}
 		
--
libgit2 0.21.2