mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-13 23:06:54 +10:00
@@ -234,8 +234,9 @@
|
||||
* @param top
|
||||
* @param left
|
||||
*/
|
||||
setNodeContextMenuPosition = function (top, left, applicationName) {
|
||||
setNodeContextMenuPosition = function (top, left, applicationName, category) {
|
||||
scope.inspectApplicationName = applicationName;
|
||||
scope.inspectCategory = category;
|
||||
scope.nodeContextMenuStyle = {
|
||||
display: 'block',
|
||||
'top': top,
|
||||
@@ -373,7 +374,7 @@
|
||||
// return;
|
||||
// }
|
||||
if (node.isWas === true) {
|
||||
setNodeContextMenuPosition(e.event.layerY, e.event.layerX, node.applicationName);
|
||||
setNodeContextMenuPosition(e.event.layerY, e.event.layerX, node.applicationName, node.category);
|
||||
}
|
||||
// scope.$emit("serverMapDirective.nodeContextClicked", e, query, node, applicationMapData);
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<li><a href tabindex="-1" ng-click=""><span class="glyphicon glyphicon-filter"></span> Filter Transaction Wizard</a></li>
|
||||
<li class="divider"></li-->
|
||||
<li>
|
||||
<a tabindex="-1" ng-href="#/inspector/{{inspectApplicationName}}/{{oNavbarVoService.getReadablePeriod()}}/{{oNavbarVoService.getQueryEndDateTime()}}"
|
||||
<a tabindex="-1" ng-href="#/inspector/{{inspectApplicationName}}@{{inspectCategory}}/{{oNavbarVoService.getReadablePeriod()}}/{{oNavbarVoService.getQueryEndDateTime()}}"
|
||||
target="_blank"><span class="glyphicon glyphicon-search"></span> Inspect Agents</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user