Skip to content

Commit

Permalink
Merge branch 'branches/rudder/8.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGauthier committed Dec 5, 2023
2 parents 493bc2d + 5c99de3 commit 9f813e4
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
if( directiveId != null && directiveId.length > 0) {
${SHtml.ajaxCall(JsVar("directiveId"), displayDetails _)._2.toJsCmd};
}
removeBsTooltips();
""")
}

Expand Down Expand Up @@ -219,10 +220,12 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
} catch(e) {
directiveId = '';
}

buildDirectiveTree('#${htmlId_activeTechniquesTree}', [ directiveId ], '${S.contextPath}', 1);
$$('#activeTechniquesTree').on('scroll',function(){$$('.tooltip').hide();});
removeBsTooltips();
initBsTooltips();
$$('.sidebar-body').on('scroll', function(){
removeBsTooltips();
});
""")
}

Expand Down Expand Up @@ -417,7 +420,7 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
}
val dataArray = JsArray(techniqueVersionInfo.toList)
val actionsArray = JsArray(techniqueVersionActions.toList)

Script(
OnLoad(
JsRaw(
Expand Down Expand Up @@ -446,6 +449,7 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
| }else{
| getVersion.action();
| }
| removeBsTooltips();
|});
|removeBsTooltips();
""".stripMargin
Expand Down Expand Up @@ -609,7 +613,7 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
this.window.location.hash = "#" + JSON.stringify(${json})
sessionStorage.removeItem('tags-${directiveId.uid.value}');
""".stripMargin) &
After(TimeSpan(0), JsRaw("""initBsTooltips();"""))
After(TimeSpan(0), JsRaw("""removeBsTooltips();initBsTooltips();"""))
}

private[this] case class MissingTechniqueException(directive: Directive) extends Exception(
Expand Down

0 comments on commit 9f813e4

Please sign in to comment.