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