another global var
This commit is contained in:
parent
5929e34dc8
commit
cfe7282a24
2 changed files with 29 additions and 26 deletions
|
|
@ -20,12 +20,13 @@ pandora.ui.rightPanel = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
resize: function(data) {
|
||||
var clipsItems, previousClipsItems;
|
||||
if (!pandora.user.ui.item) {
|
||||
pandora.resizeFilters();
|
||||
pandora.$ui.list.size();
|
||||
if (pandora.user.ui.listView == 'clips') {
|
||||
var clipsItems = pandora.getClipsItems();
|
||||
previousClipsItems = pandora.getClipsItems(pandora.$ui.list.options('width'));
|
||||
clipsItems = pandora.getClipsItems();
|
||||
previousClipsItems = pandora.getClipsItems(pandora.$ui.list.options('width'));
|
||||
pandora.$ui.list.options({width: data.size});
|
||||
if (clipsItems != previousClipsItems) {
|
||||
Ox.Request.clearCache(); // fixme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue