Merge branch 'MDL-74131-311' of https://github.com/aanabit/moodle into MOODLE_311_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2022-03-15 16:54:47 +01:00
4 changed files with 5 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -110,9 +110,9 @@ define([
if (e.ajaxreturn.itemtype === 'tagflag') {
var row = $(e.target).closest('tr');
if (e.ajaxreturn.value === '0') {
row.removeClass('flagged-tag');
row.removeClass('table-warning');
} else {
row.addClass('flagged-tag');
row.addClass('table-warning');
}
}
});
+1 -1
View File
@@ -183,7 +183,7 @@ class core_tag_manage_table extends table_sql {
* @return string added to the class="" attribute of the tr.
*/
public function get_row_class($row) {
return $row->flag ? 'flagged-tag' : '';
return $row->flag ? 'table-warning' : '';
}
/**