window.renderCell = function(result, info) { if(info.col.name == 'name' && result && info.row.data.protected) { result.push({html: `${protectedTag}`}); } return result; } window.search = function() { loadPage({method:'post', data: {keyword: $('#keyword').val()}, target: '#table-gitlab-browseproject>*'}); }