diff --git a/web/src/main/webapp/features/distributedCallFlow/distributed-call-flow.directive.js b/web/src/main/webapp/features/distributedCallFlow/distributed-call-flow.directive.js index 1b933682c..2d60203af 100644 --- a/web/src/main/webapp/features/distributedCallFlow/distributed-call-flow.directive.js +++ b/web/src/main/webapp/features/distributedCallFlow/distributed-call-flow.directive.js @@ -85,7 +85,7 @@ html.push(' '); } else if (!item.isMethod) { if( item.method === "SQL" ) { - html.push(' '); + html.push(' '); } else { html.push(' '); } @@ -335,13 +335,14 @@ data += "&bind=" + encodeURIComponent( itemNext.argument ); ajaxService.getSQLBind( "/sqlBind.pinpoint", data, function( result ) { $("#customLogPopup").find("h4").html("SQL").end().find("div.modal-body").html( - '' + + '

Binded SQL

' + '
' + result + '
' + - '
' + result.replace(/\t\t/g, "") + '
' + - '' + + '
' + result.replace(/\t\t/g, "") + '
' + + '
' + + '

Original SQL

' + '
' + item.argument + '
' + '
' + item.argument.replace(/\t\t/g, "") + '
' + - '' + + '

SQL Bind Value

' + '
' + itemNext.argument + '
' + '
' + itemNext.argument + '
' ).end().modal("show"); @@ -349,7 +350,7 @@ }); } else { $("#customLogPopup").find("h4").html("SQL").end().find("div.modal-body").html( - '' + + '

Original SQL

' + '
' + item.argument + '
' + '
' + item.argument.replace(/\t\t/g, "") + '
' ).end().modal("show"); @@ -438,7 +439,7 @@ }; $("#customLogPopup").on("click", "button", function() { var range = document.createRange(); - range.selectNode( $(this).next().get(0) ); + range.selectNode( $(this).parent().next().get(0) ); window.getSelection().addRange( range ); try { document.execCommand("copy");