diff --git a/src/file_io/fileio.js b/src/file_io/fileio.js index 31feca09..7d50a492 100644 --- a/src/file_io/fileio.js +++ b/src/file_io/fileio.js @@ -151,8 +151,8 @@ define([ fileExtension: "csv" // 확장자 }; this.fileResultState = { - pathInputId : this.wrapSelector('#i1'), - fileInputId : this.wrapSelector('#fileName') + pathInputId : this.wrapSelector('#vp_fileRead #i0'), + fileInputId : this.wrapSelector('#vp_fileRead #fileName') }; } @@ -256,6 +256,11 @@ define([ this.renderPage('Read'); this.renderPage('Write'); + // initialize fileResultState + this.fileResultState = { + ...this.fileState['Read'].fileResultState + }; + this.bindEvent(); };