MDL-70992 Folder: Unnecessary tab stops to the left of files

This commit is contained in:
sangnguyen 2021-03-01 16:48:14 +07:00
parent fc335f5ea0
commit edd37a6c07
4 changed files with 9 additions and 17 deletions

View File

@ -2533,11 +2533,13 @@ YAHOO.widget.Node.prototype = {
sb[sb.length] = '<td class="ygtvcell ' + this.getDepthStyle(i) + '"><div class="ygtvspacer"></div></td>';
}
if (this.hasIcon) {
if (this.hasIcon && this.hasChildren()) {
sb[sb.length] = '<td id="' + this.getToggleElId();
sb[sb.length] = '" class="ygtvcell ';
sb[sb.length] = this.getStyle() ;
sb[sb.length] = '"><a href="#" class="ygtvspacer">&#160;</a></td>';
} else {
sb[sb.length] = '<td class="ygtvcell ' + this.getStyle() + '"><div class="ygtvspacer"></div></td>';
}
sb[sb.length] = '<td id="' + this.contentElId;

File diff suppressed because one or more lines are too long

View File

@ -2473,11 +2473,13 @@ YAHOO.widget.Node.prototype = {
sb[sb.length] = '<td class="ygtvcell ' + this.getDepthStyle(i) + '"><div class="ygtvspacer"></div></td>';
}
if (this.hasIcon) {
if (this.hasIcon && this.hasChildren()) {
sb[sb.length] = '<td id="' + this.getToggleElId();
sb[sb.length] = '" class="ygtvcell ';
sb[sb.length] = this.getStyle() ;
sb[sb.length] = '"><a href="#" class="ygtvspacer">&#160;</a></td>';
} else {
sb[sb.length] = '<td class="ygtvcell ' + this.getStyle() + '"><div class="ygtvspacer"></div></td>';
}
sb[sb.length] = '<td id="' + this.contentElId;

View File

@ -3,6 +3,8 @@ Description of import of various YUI libraries into Moodle:
1/ YUI2 version 2.9.0:
* copy of 2in3 without older version
* exact version specified in lib/setup.php
* Accessibility change. Which folder or file has no children, remove unnecessary tab stop.
lib/yuilib/2in3/2.9.0/build/yui2-treeview/yui2-treeview.js
2/ YUI3 version 3.17.2:
* full copy of the "build" directory. Unit test code coverage files (*-coverage.js)