From 84e205523371ce10e0887e9587501ef1b8fc488b Mon Sep 17 00:00:00 2001 From: minjk-bl Date: Thu, 30 Sep 2021 18:26:30 +0900 Subject: [PATCH] Fix Apps > File fileNavigation bug --- src/file_io/fileio.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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(); };