This commit is contained in:
Alex Dima 2019-11-20 15:36:06 +01:00
parent 4aeb9fb47a
commit ac6f4773fc
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
3 changed files with 22 additions and 41 deletions

View file

@ -88,19 +88,19 @@
return key + '=' + value;
}
return '';
}).filter(function(assignment) { return !!assignment; }).join('&');
}).filter(function(assignment) { return !!assignment; }).join('&');
if (search.length > 0) {
search = '?' + search;
}
return toHREF(search);
};
Component.prototype.renderLoadingOptions = function() {
return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>:&nbsp;&nbsp;&nbsp;' + Object.keys(this.paths).map(function(pathName) {
return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>:&#160;&#160;&#160;' + Object.keys(this.paths).map(function(pathName) {
if (pathName === this.selectedPath) {
return '<strong>' + pathName + '</strong>';
}
return '<a href="' + this.generateUrlForPath(pathName) + '">' + pathName + '</a>';
}.bind(this)).join('&nbsp;&nbsp;&nbsp;');
}.bind(this)).join('&#160;&#160;&#160;');
};