Compare commits

...

3 commits

Author SHA1 Message Date
j
9b8b6a1744 focus editPanel 2018-03-07 13:24:46 +05:30
j
812959a8c1 space 2018-03-07 13:24:33 +05:30
j
799cad08b1 fix section lookup 2018-03-07 13:24:24 +05:30
3 changed files with 3 additions and 2 deletions

View file

@ -403,6 +403,7 @@ pandora.ui.editPanel = function(isEmbed) {
pandora.$ui.mainPanel.replaceElement(1, that);
updateSmallTimelineURL();
ui.edits[ui.edit].view == 'grid' && enableDragAndDrop();
that.gainFocus();
}
function renderEdits() {

View file

@ -2,7 +2,7 @@
'use strict';
pandora.ui.folderList = function(id, section) {
section = section || pandora.user.section;
section = section || pandora.user.ui.section;
var ui = pandora.user.ui,
i = Ox.getIndexById(pandora.site.sectionFolders[section], id),
folderItems = pandora.getFolderItems(section),

View file

@ -38,7 +38,7 @@ pandora.ui.leftPanel = function(section) {
pandora.$ui.leftPanel.size(2, infoHeight);
!pandora.user.ui.showInfo && pandora.$ui.leftPanel.css({bottom: -infoHeight + 'px'});
pandora.resizeFolders();
pandora.$ui.info.resizeInfo();
pandora.$ui.info.resizeInfo();
},
resizeend: function(data) {
// set to 0 so that UI.set registers a change of the value