From 597b2e065f32f7f75ccde5f007eeb08d0c5b1135 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Wed, 7 Aug 2019 06:50:56 +0200 Subject: [PATCH] baculum: Tweak remove debug from runscript menu control --- gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl index 26b16dad3..14b151a59 100644 --- a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl +++ b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl @@ -5,7 +5,7 @@ ID="RunscriptItem" OnCommand="Parent.SourceTemplateControl.newRunscriptDirective" CommandParameter="save" - ClientSide.OnComplete="var el = $('#<%=$this->RunscriptItem->ClientID%>').parents('div').find('h3.runscript_options'); console.log(el); BaculaConfig.scroll_to_element(el[el.length-1]);" + ClientSide.OnComplete="var el = $('#<%=$this->RunscriptItem->ClientID%>').parents('div').find('h3.runscript_options'); BaculaConfig.scroll_to_element(el[el.length-1]);" Attributes.onclick="$(this).closest('div.config_new_runscript').hide();" >  Runscript -- 2.47.3