From 479c6179c2e684683203bb341b29db2adab175fa Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 5 Sep 2021 22:23:08 +1000 Subject: [PATCH] fix icon url needing to be passed as a jinja2 var --- BUGs | 1 + internal/js/files_support.js | 7 +++++-- templates/files.html | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/BUGs b/BUGs index 0987737..04c5c00 100644 --- a/BUGs +++ b/BUGs @@ -1 +1,2 @@ ### Next: 49 +BUG-49: Move and Del DBoxes are showing thumbnails vertically not horizontally diff --git a/internal/js/files_support.js b/internal/js/files_support.js index 7657454..db2020f 100644 --- a/internal/js/files_support.js +++ b/internal/js/files_support.js @@ -24,8 +24,10 @@ function RunAIOnSeln(person) $.ajax({ type: 'POST', data: post_data, url: '/run_ai_on', success: function(data){ window.location='/'; return false; } }) } -function MoveDBox(sps) +function MoveDBox(sps, db_url) { + console.log(sps) + console.log(db_url) $('#dbox-title').html('Move Selected File(s) to new directory in Storage Path') div =`
@@ -39,8 +41,9 @@ function MoveDBox(sps) div+=`
- + ' if( sps.length > 1 ) { // NB: alert-primary here is a hack to get the bg the same color as the alert primary by div+= '