Fix Bug 32964.
This commit is contained in:
parent
3dd444be6c
commit
2a8147b2d5
|
@ -536,7 +536,7 @@ define([
|
||||||
var innerEl = $(this.el).find('.inner'),
|
var innerEl = $(this.el).find('.inner'),
|
||||||
inner_top = innerEl.offset().top,
|
inner_top = innerEl.offset().top,
|
||||||
idx = _.indexOf(this.store.models, record),
|
idx = _.indexOf(this.store.models, record),
|
||||||
div = (idx>=0 && this.dataViewItems.length>0) ? $(this.dataViewItems[idx].el) : innerEl.find('#' + record.get('id'));
|
div = (idx>=0 && this.dataViewItems.length>idx) ? $(this.dataViewItems[idx].el) : innerEl.find('#' + record.get('id'));
|
||||||
if (div.length<=0) return;
|
if (div.length<=0) return;
|
||||||
|
|
||||||
var div_top = div.offset().top;
|
var div_top = div.offset().top;
|
||||||
|
|
Loading…
Reference in a new issue