From 2d7be9d567fff96856c581573b9aa8c64cb8f343 Mon Sep 17 00:00:00 2001 From: TatianaBurek Date: Wed, 22 May 2024 07:39:08 -0600 Subject: [PATCH] fixed the path to images #156 --- webapp_scorecard/index.jsp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp_scorecard/index.jsp b/webapp_scorecard/index.jsp index 09da2faa..f3fad3c1 100644 --- a/webapp_scorecard/index.jsp +++ b/webapp_scorecard/index.jsp @@ -22,8 +22,7 @@ var data_url ; function changePlotURL(src){ - var name = src.split(/_(\d)*\.png/)[0]; - var src_new= data_url + name +'/' + src; + var src_new= data_url +'/' + src; var pos = {my: "center bottom", at: "center bottom", of: window}; @@ -78,6 +77,9 @@ "Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." ); }); + }, + beforeActivate: function( event, ui ) { + $(".ui-dialog-content").dialog("close"); } }).addClass( "ui-tabs-vertical ui-helper-clearfix" ); $( "#tabs1 li" ).removeClass( "ui-corner-top" ).addClass( "ui-corner-left" );