From b9d5ab9c4a2d7bf41ddb117f7a3873a3f06e3499 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 8 Jun 2020 11:24:46 +0200 Subject: [PATCH] Fixed errors new tab base64 image --- pandora_console/include/ajax/module.php | 9 ++++++++- pandora_console/include/javascript/pandora.js | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index fae72f34fa..ed6d72ef70 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -372,7 +372,13 @@ if (check_login()) { $data[] = date('d F Y h:i:s A', $row['utimestamp']); } else if (is_snapshot_data($row[$attr[0]])) { if ($config['command_snapshot']) { - $data[] = ""; + $imagetab = ''; + $image = ''; + $data[] = ''.$image.''; } else { $data[] = ''.wordwrap(io_safe_input($row[$attr[0]]), 60, "
\n", true).'
'; } @@ -1099,6 +1105,7 @@ if (check_login()) { $rowIndex++; } + ui_require_javascript_file('pandora.js'); ?>