mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-74131-master' of https://github.com/aanabit/moodle
This commit is contained in:
commit
103365191c
4 changed files with 5 additions and 5 deletions
2
lib/amd/build/tag.min.js
vendored
2
lib/amd/build/tag.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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' : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue