Commit 45a46271f88196b9221796cf546ca478351e7971

Authored by Elena.Budnik
1 parent 0364e7a3

isTimeTable var

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
js/app/views/UploadPanelUI.js
... ... @@ -124,7 +124,7 @@ Ext.define('amdaUI.UploadPanelUI', {
124 124 var user_format_obj = radios.getValue();
125 125 var user_format = user_format_obj.filefrmt;
126 126 }
127   - else if (this.TimeTable)
  127 + else if (this.isTimeTable)
128 128 {
129 129 var radios = Ext.getCmp('ttfrmt');
130 130 var user_format_obj = radios.getValue();
... ... @@ -166,7 +166,7 @@ Ext.define('amdaUI.UploadPanelUI', {
166 166 user_format_obj.filefrmt = auto_format;
167 167 } else if (this.isTimeTable && user_format !== auto_format) {
168 168 user_format_obj.ttfrmt = auto_format;
169   - } else if (!this.File && !this.TimeTable && user_format !== auto_format) {
  169 + } else if (!this.isFile && !this.isTimeTable && user_format !== auto_format) {
170 170 user_format_obj.catfrmt = auto_format;
171 171 }
172 172  
... ...