Skip to content

Commit

Permalink
fix target myframe
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze committed Sep 7, 2018
1 parent 5c9f9e5 commit 091c7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitor/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def group_tree():
server_list = []
servers = group.serverList.all()
for server in servers:
server_data = {'name': server.hostname, 'url': "/monitor/system/{}/0/".format(server.hostname), "target": "_self"}
server_data = {'name': server.hostname, 'url': "/monitor/system/{}/0/".format(server.hostname), 'target':"myframe"}
server_list.append(server_data)
group_data = {'name': group.name, 'children': server_list}
group_node.append(group_data)
Expand All @@ -179,7 +179,7 @@ def product_tree():
server_list = []
servers = pjs.serverList.all()
for server in servers:
server_data = {'name': server.hostname, 'url': "/monitor/system/{}/0/".format(server.hostname), "target": "_self"}
server_data = {'name': server.hostname, 'url': "/monitor/system/{}/0/".format(server.hostname), 'target':"myframe"}
server_list.append(server_data)
project_data = {'name': pjs.name, 'children': server_list}
project_list.append(project_data)
Expand Down

0 comments on commit 091c7cf

Please sign in to comment.