browsegroup.ui.js 451 B

123456789101112131415
  1. window.renderCell = function(result, {col, row})
  2. {
  3. if(col.name === 'full_path')
  4. {
  5. result[0] = {html:'<a href="' + gitlabUrl + '/' + row.data.full_path + '" target="_blank">' + row.data.full_path + '</a>', style:{flexDirection:"column"}};
  6. return result;
  7. }
  8. return result;
  9. };
  10. window.searchGroup = function()
  11. {
  12. loadPage({method:'post', data: {keyword: $('#keyword').val()}, target: '#table-gitlab-browsegroup>*'});
  13. }