From 18cbf0ec9c56b8ea401b70ff04ccf157a1b46418 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 16 Sep 2024 09:06:10 +0100 Subject: [PATCH 1/2] print pandora versions during update --- update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.py b/update.py index 04aaaa30..967b88bd 100755 --- a/update.py +++ b/update.py @@ -322,6 +322,7 @@ if __name__ == "__main__": current_branch = get_branch(path) revno = get_version(path) if repo == 'pandora': + print("Pandora Version pre update: ", revno) pandora_old_revno = revno current += revno if current_branch != branch: @@ -345,6 +346,7 @@ if __name__ == "__main__": new += '+' os.chdir(join(base, 'pandora')) if pandora_old_revno != pandora_new_revno: + print("Pandora Version post update: ", pandora_new_revno) os.chdir(base) run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno) os.chdir(join(base, 'pandora')) From 1b1442e66480c3dbaaa78370eff4eab0f6b14e65 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 16 Sep 2024 17:23:21 +0100 Subject: [PATCH 2/2] might not be loaded --- static/js/helpDialog.js | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/static/js/helpDialog.js b/static/js/helpDialog.js index 53b2497f..97bc51bb 100644 --- a/static/js/helpDialog.js +++ b/static/js/helpDialog.js @@ -137,24 +137,26 @@ pandora.ui.helpDialog = function() { that.select = function(id) { var img, $img; - $text.html(text[id || 'help']).scrollTop(0); - img = $text.find('img'); - if (img) { - $img = $(img); - $img.replaceWith( - $image = Ox.ImageElement( - Ox.extend(getImageSize(), {src: $img.attr('src')}) - ) - .css({borderRadius: '8px'}) - ); + if ($text) { + $text.html(text[id || 'help']).scrollTop(0); + img = $text.find('img'); + if (img) { + $img = $(img); + $img.replaceWith( + $image = Ox.ImageElement( + Ox.extend(getImageSize(), {src: $img.attr('src')}) + ) + .css({borderRadius: '8px'}) + ); + } + $text.find('td:first-child') + .css({ + height: '16px', + paddingRight: '8px', + textAlign: 'right', + whiteSpace: 'nowrap' + }); } - $text.find('td:first-child') - .css({ - height: '16px', - paddingRight: '8px', - textAlign: 'right', - whiteSpace: 'nowrap' - }); return that; }