diff --git a/static/js/pandora/pandora.js b/static/js/pandora/pandora.js index 9e6e9960..f45eb807 100644 --- a/static/js/pandora/pandora.js +++ b/static/js/pandora/pandora.js @@ -45,6 +45,20 @@ pandora.enableDragAndDrop = function($list, canMove) { title: getTitle(data._event) }).show(data._event); }, + draganddroppause: function(data) { + var $parent = $(data._event.target).parent(), + $grandparent = $parent.parent(), + $panel = $parent.is('.OxCollapsePanel') ? $parent + : $grandparent.is('.OxCollapsePanel') ? $grandparent : null, + $bar, + title; + if ($panel) { + $bar = $panel.children('.OxBar'); + title = $bar.children('.OxTitle') + .html().split(' ')[0].toLowerCase(); + !pandora.user.ui.showFolder.items[title] && $bar.trigger('dblclick'); + } + }, draganddropenter: function(data) { var $parent = $(data._event.target).parent(), $item = $parent.is('.OxItem') ? $parent : $parent.parent(), diff --git a/static/js/pandora/ui/folders.js b/static/js/pandora/ui/folders.js index db3b8b63..55d10c6b 100644 --- a/static/js/pandora/ui/folders.js +++ b/static/js/pandora/ui/folders.js @@ -37,6 +37,7 @@ pandora.ui.folders = function() { max: 0, min: 0, selectable: false, + tooltip: 'Manage Personal Lists', type: 'image' }) .bindEvent({ diff --git a/static/js/pandora/ui/menu.js b/static/js/pandora/ui/menu.js index f4592808..86343113 100644 --- a/static/js/pandora/ui/menu.js +++ b/static/js/pandora/ui/menu.js @@ -80,11 +80,11 @@ pandora.ui.mainMenu = function() { {}, { id: 'usesiteposter', title: 'Always Use ' + pandora.site.site.name + ' Poster' } ] }, - { id: 'columns', title: 'Column Layout', items: [ - { id: 'loadlayout', title: 'Load...' }, - { id: 'savelayout', title: 'Save...' }, + { id: 'columns', title: 'Columns', items: [ + { id: 'loadcolumns', title: 'Load Layout...' }, + { id: 'savecolumns', title: 'Save Layout...' }, {}, - { id: 'resetlayout', title: 'Reset' } + { id: 'resetcolumns', title: 'Reset to Default' } ]}, {}, { id: 'openmovie', title: ['Open ' + pandora.site.itemName.singular, 'Open ' + pandora.site.itemName.plural], items: [