diff options
Diffstat (limited to 'frontend/js/app.js')
-rw-r--r-- | frontend/js/app.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js index d99a91e..9ce073e 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js | |||
@@ -146,7 +146,11 @@ function open(row, column, event) { | |||
146 | return; | 146 | return; |
147 | } | 147 | } |
148 | 148 | ||
149 | window.open(encode(path)); | 149 | app.activeEntry = row; |
150 | app.activeEntry.fullPath = encode(sanitize(app.path + '/' + row.filePath)); | ||
151 | app.previewDrawerVisible = true | ||
152 | |||
153 | // window.open(encode(path)); | ||
150 | } | 154 | } |
151 | 155 | ||
152 | function uploadFiles(files) { | 156 | function uploadFiles(files) { |
@@ -280,6 +284,8 @@ var app = new Vue({ | |||
280 | password: '', | 284 | password: '', |
281 | busy: false | 285 | busy: false |
282 | }, | 286 | }, |
287 | previewDrawerVisible: false, | ||
288 | activeEntry: {}, | ||
283 | entries: [], | 289 | entries: [], |
284 | accessTokens: [], | 290 | accessTokens: [], |
285 | accessTokensDialogVisible: false | 291 | accessTokensDialogVisible: false |