Merge branch 'MDL-74131-311' of https://github.com/aanabit/moodle into MOODLE_311_STABLE
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
-2
@@ -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');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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' : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user