mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-10 10:33:01 +00:00
[Bugfix] 用户远程应用页面,连接远程应用传递 type 参数
This commit is contained in:
parent
ffb4a26215
commit
3f9e2f0af7
@ -49,7 +49,7 @@ function initTable() {
|
|||||||
$(td).html(hostname);
|
$(td).html(hostname);
|
||||||
}},
|
}},
|
||||||
{targets: 5, createdCell: function (td, cellData, rowData) {
|
{targets: 5, createdCell: function (td, cellData, rowData) {
|
||||||
var conn_btn = '<a href="{% url "luna-view" %}?login_to=' + cellData +'" class="btn btn-xs btn-primary">{% trans "Connect" %}</a>'.replace("{{ DEFAULT_PK }}", cellData);
|
var conn_btn = '<a href="{% url "luna-view" %}?type=remote_app&login_to=' + cellData +'" class="btn btn-xs btn-primary">{% trans "Connect" %}</a>'.replace("{{ DEFAULT_PK }}", cellData);
|
||||||
$(td).html(conn_btn)
|
$(td).html(conn_btn)
|
||||||
}}
|
}}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user