Skip to content

Commit

Permalink
Merge pull request jumpserver#1551 from jumpserver/dev
Browse files Browse the repository at this point in the history
[Bugfix] 修复转义引起的中文乱码问题
  • Loading branch information
ibuler authored Jul 18, 2018
2 parents 53086a8 + c94d018 commit 3d34b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/users/templates/users/user_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
ele: $('#user_list_table'),
columnDefs: [
{targets: 1, createdCell: function (td, cellData, rowData) {
var detail_btn = '<a href="{% url "users:user-detail" pk=DEFAULT_PK %}">' + escape(cellData) + '</a>';
var detail_btn = '<a href="{% url "users:user-detail" pk=DEFAULT_PK %}">' + cellData + '</a>';
$(td).html(detail_btn.replace("{{ DEFAULT_PK }}", rowData.id));
}},
{targets: 4, createdCell: function (td, cellData) {
Expand Down

0 comments on commit 3d34b06

Please sign in to comment.