Commit a0d70f32 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

sorting by edit/remove disabled

parent 8b59a885
......@@ -131,7 +131,10 @@ UsersAdminPanel.prototype._createUsersTableRow = function () {
title: 'Edit'
}, {
title: 'Remove'
}]
}],
columnDefs: [
{"orderable": false, "targets": [5, 6]}
]
});
self.bindUserGuiPreference({
......@@ -303,7 +306,7 @@ UsersAdminPanel.prototype.addUpdateListener = function (user, dataTableRow) {
var listener = function () {
var login = Functions.escapeSelector(user.getLogin());
self.userToTableRow(user, dataTableRow);
var dataTable =$("[name='usersTable']", self.getElement()).DataTable();
var dataTable = $("[name='usersTable']", self.getElement()).DataTable();
var row = dataTable.row("#" + login);
if (row.length > 0) {
var page = dataTable.page();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment