Merge pull request #934 from ruwany/master

Adding fix for https://github.com/wso2/product-iots/issues/667
revert-70aa11f8
Charitha Goonetilleke 7 years ago committed by GitHub
commit 0f7e488d2b

@ -294,7 +294,10 @@ function loadUsers() {
//noinspection JSUnusedLocalSymbols //noinspection JSUnusedLocalSymbols
var fnCreatedRow = function (nRow, aData, iDataIndex) { var fnCreatedRow = function (nRow, aData, iDataIndex) {
$(nRow).attr('data-type', 'selectable'); var adminUser = $("#user-table").data("user");
if (adminUser !== aData["filter"]) {
$(nRow).attr('data-type', 'selectable');
}
$(nRow).attr('data-username', aData["filter"]); $(nRow).attr('data-username', aData["filter"]);
}; };

Loading…
Cancel
Save