add placeholders for empty folders, fixes #250
This commit is contained in:
parent
3c1d3bbcb2
commit
f8890ed015
6 changed files with 61 additions and 17 deletions
|
|
@ -17,6 +17,7 @@ pandora.ui.folders = function(section) {
|
|||
pandora.$ui.folder = [];
|
||||
pandora.$ui.folderBrowser = {};
|
||||
pandora.$ui.folderList = {};
|
||||
pandora.$ui.folderPlaceholder = {};
|
||||
pandora.$ui.findListElement = {};
|
||||
pandora.$ui.findListSelect = {};
|
||||
pandora.$ui.findListInput = {};
|
||||
|
|
@ -338,6 +339,9 @@ pandora.ui.folders = function(section) {
|
|||
}
|
||||
})
|
||||
.appendTo(pandora.$ui.folder[i].$content);
|
||||
pandora.$ui.folderPlaceholder[folder.id] = pandora.ui.folderPlaceholder(folder.id, section)
|
||||
.hide()
|
||||
.appendTo(pandora.$ui.folder[i].$content);
|
||||
});
|
||||
function infoButton(title, text) {
|
||||
return Ox.Button({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue