minor code cleanup

This commit is contained in:
dkanada 2019-05-06 19:47:02 -07:00
parent fa27a839f3
commit e833225ab3
4 changed files with 74 additions and 57 deletions

View file

@ -157,12 +157,13 @@ define(["jQuery", "apphost", "scripts/taskbutton", "loading", "libraryMenu", "gl
Name: globalize.translate("ButtonAddMediaLibrary"),
icon: "add_circle",
Locations: [],
showType: !1,
showLocations: !1,
showMenu: !1,
showNameWithIcon: !0
showType: false,
showLocations: false,
showMenu: false,
showNameWithIcon: true
});
for (var i = 0, length = virtualFolders.length; i < length; i++) {
for (var i = 0; i < virtualFolders.length; i++) {
var virtualFolder = virtualFolders[i];
html += getVirtualFolderHtml(page, virtualFolder, i)
}