this._updatePrefs('dimp_splitbar', this.viewport.getPageSize());
}
}.bind(this),
- onSplitBarEnd: function(mode) {
- $('messageBodyCover').hide();
- },
- onSplitBarStart: function(mode) {
- $('messageBodyCover').clonePosition('messageBody').show();
- },
onWait: function() {
if ($('dimpmain_folder').visible()) {
DimpCore.showNotifications([ { type: 'horde.warning', message: DIMP.text.listmsg_wait } ]);
constraint: 'horizontal',
ghosting: true,
nodrop: true,
- onStart: function(drag) {
- $('messageBodyCover').clonePosition('messageBody').show();
- },
onEnd: function(drag) {
- $('messageBodyCover').hide();
$('sidebar').setStyle({ width: drag.lastCoord[0] + 'px' });
drag.element.setStyle({ left: $('sidebar').clientWidth + 'px' });
$('dimpmain').setStyle({ left: ($('sidebar').clientWidth + drag.element.clientWidth) + 'px' });
} else {
DimpBase.msgSelect(id, args);
}
-
- $('messageBodyCover').clonePosition('messageBody').show();
},
onEnd: function(d, e) {
if (d.selectIfNoDrag && !d.wasDragged) {
DimpBase.msgSelect(d.element.id, { right: e.isRightClick() });
}
-
- $('messageBodyCover').hide();
}
};
scroll: 'normalfolders',
threshold: 5,
onStart: function(d, e) {
- if (DimpCore.DMenu.operaCheck(e)) {
- d.opera = true;
- } else {
- d.opera = false;
- $('messageBodyCover').clonePosition('messageBody').show();
- }
+ d.opera = DimpCore.DMenu.operaCheck(e);
},
onDrag: function(d, e) {
if (!d.opera && !d.wasDragged) {
}
},
onEnd: function(d, e) {
- if (!d.opera) {
- if (d.wasDragged) {
- $('folderopts').show();
- $('dropbase').hide();
- }
- $('messageBodyCover').hide();
+ if (!d.opera && d.wasDragged) {
+ $('folderopts').show();
+ $('dropbase').hide();
}
}
};