From: Marcin Haba Date: Wed, 7 Aug 2019 04:50:56 +0000 (+0200) Subject: baculum: Tweak remove debug from runscript menu control X-Git-Tag: Release-9.6.0~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=597b2e065f32f7f75ccde5f007eeb08d0c5b1135;p=thirdparty%2Fbacula.git baculum: Tweak remove debug from runscript menu control --- 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