diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index aaebecc59..d5ebfff64 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -783,10 +783,18 @@ let postSaveTimer = null;
if (data.success) {
let content = '';
+ let button = ``;
+ let ul-start = `
`;
+ let ul-end = `
`;
+ let line-item = `
${results[i].filename}
`;
+
+ /* this type of thing works
alert(`Content length: ${content.length}`);
let j = 3;
alert(`Filename: ${results[(j-1)].filename}`);
-
+ */
for(let i=0; i
- ${results[i].display_path}
-
-
`
+ `${button}${ul-start}`
: // ternary middle
// if it's a file do this
- `
${results[i].display_path}
`
+ `${line-item}`
; // ternary end
} // end new loop
- // let newcontent = content.replaceAll('