mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-43682 report_loglive: commit built yui files
This commit is contained in:
parent
2891559fd5
commit
a0c2ac6b86
2 changed files with 4 additions and 4 deletions
|
@ -135,9 +135,9 @@ Y.extend(FetchLogs, Y.Base, {
|
||||||
firstTr = tbody.get('firstChild');
|
firstTr = tbody.get('firstChild');
|
||||||
if (firstTr) {
|
if (firstTr) {
|
||||||
tbody.insertBefore(logs, firstTr);
|
tbody.insertBefore(logs, firstTr);
|
||||||
} else {
|
|
||||||
// @Todo, when no data is present our library should generate an empty table. so data can be added dynamically (MDL-44525).
|
|
||||||
}
|
}
|
||||||
|
// @Todo, when no data is present our library should generate an empty table. so data can be added dynamically (MDL-44525).
|
||||||
|
|
||||||
// Let us chop off some data from end of table to prevent really long pages.
|
// Let us chop off some data from end of table to prevent really long pages.
|
||||||
var oldChildren = tbody.get('children').slice(this.get('perpage'));
|
var oldChildren = tbody.get('children').slice(this.get('perpage'));
|
||||||
oldChildren.remove();
|
oldChildren.remove();
|
||||||
|
|
|
@ -135,9 +135,9 @@ Y.extend(FetchLogs, Y.Base, {
|
||||||
firstTr = tbody.get('firstChild');
|
firstTr = tbody.get('firstChild');
|
||||||
if (firstTr) {
|
if (firstTr) {
|
||||||
tbody.insertBefore(logs, firstTr);
|
tbody.insertBefore(logs, firstTr);
|
||||||
} else {
|
|
||||||
// @Todo, when no data is present our library should generate an empty table. so data can be added dynamically (MDL-44525).
|
|
||||||
}
|
}
|
||||||
|
// @Todo, when no data is present our library should generate an empty table. so data can be added dynamically (MDL-44525).
|
||||||
|
|
||||||
// Let us chop off some data from end of table to prevent really long pages.
|
// Let us chop off some data from end of table to prevent really long pages.
|
||||||
var oldChildren = tbody.get('children').slice(this.get('perpage'));
|
var oldChildren = tbody.get('children').slice(this.get('perpage'));
|
||||||
oldChildren.remove();
|
oldChildren.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue