}
}.bind(this),
onContentComplete: function(rows) {
+ var row, ssc, tmp,
+ l = this.viewport.getMetaData('label');
+
rows.each(function(row) {
// Add context menu
this._addMouseEvents({ id: row.domid, type: row.menutype });
}, this);
this.setMessageListTitle();
- }.bind(this),
- onComplete: function() {
- var row, ssc, tmp,
- l = this.viewport.getMetaData('label');
if (this.uid) {
row = this.viewport.getViewportSelection().search({ imapuid: { equal: [ this.uid ] }, view: { equal: [ this.folder ] } });
if (curr) {
this._updateContent(curr.offset, opts);
if (!background) {
- if (this.opts.onComplete) {
- this.opts.onComplete();
- }
this.opts.ajaxRequest(this.opts.fetch_action, this.addRequestParams({ checkcache: 1, rownum: this.currentOffset() + 1 }));
}
return true;
!this._updateContent((cr_id && cr_id.offset) ? cr_id.offset : (r.rownum ? parseInt(r.rownum) - 1 : this.currentOffset()))) {
return;
}
-
- if (this.opts.onComplete) {
- this.opts.onComplete();
- }
}
if (this.opts.onEndFetch) {