fix #2488 (Grid views scroll when they shouldn't)
This commit is contained in:
parent
374296d630
commit
3c1fc9690e
1 changed files with 9 additions and 3 deletions
|
@ -110,9 +110,6 @@ pandora.ui.list = function() {
|
||||||
columnresize: function(data) {
|
columnresize: function(data) {
|
||||||
pandora.UI.set('listColumnWidth.' + data.id, data.width);
|
pandora.UI.set('listColumnWidth.' + data.id, data.width);
|
||||||
},
|
},
|
||||||
resize: function(data) { // this is the resize event of the split panel
|
|
||||||
that.size();
|
|
||||||
},
|
|
||||||
sort: function(data) {
|
sort: function(data) {
|
||||||
pandora.UI.set({
|
pandora.UI.set({
|
||||||
listSort: [{key: data.key, operator: data.operator}]
|
listSort: [{key: data.key, operator: data.operator}]
|
||||||
|
@ -385,6 +382,15 @@ pandora.ui.list = function() {
|
||||||
that = pandora.ui.navigationView(view);
|
that = pandora.ui.navigationView(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (['list', 'grid', 'clip'].indexOf(view) > -1) {
|
||||||
|
// react to the resize event of the split panel
|
||||||
|
that.bindEvent({
|
||||||
|
resize: function(data) {
|
||||||
|
that.size();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (['list', 'grid', 'clips', 'timelines', 'video'].indexOf(view) > -1) {
|
if (['list', 'grid', 'clips', 'timelines', 'video'].indexOf(view) > -1) {
|
||||||
|
|
||||||
pandora.enableDragAndDrop(that, true);
|
pandora.enableDragAndDrop(that, true);
|
||||||
|
|
Loading…
Reference in a new issue