tmp = elt.down();
[ tmp.down(), tmp.down(1), tmp.next() ].invoke('toggle');
break;
+
+ default:
+ // CSS class based matching
+ if (elt.match('SPAN.toggleQuoteShow')) {
+ [ elt, elt.next() ].invoke('toggle');
+ Effect.BlindDown(elt.next(1), { duration: 0.2, queue: { position: 'end', scope: 'showquote', limit: 2 } });
+ } else if (elt.match('SPAN.toggleQuoteHide')) {
+ [ elt, elt.previous() ].invoke('toggle');
+ Effect.BlindUp(elt.next(), { duration: 0.2, queue: { position: 'end', scope: 'showquote', limit: 2 } });
+ }
+ break;
}
elt = elt.up();
_clickHandler: function(e)
{
+ if (e.isRightClick()) {
+ return;
+ }
+
var elt = e.element();
- if (elt.match('.msgactions A.widget')) {
- if (elt.hasClassName('moveAction')) {
- this._transfer('move_message');
- } else if (elt.hasClassName('copyAction')) {
- this._transfer('copy_message');
+ while (Object.isElement(elt)) {
+ if (elt.match('.msgactions A.widget')) {
+ if (elt.hasClassName('moveAction')) {
+ this._transfer('move_message');
+ } else if (elt.hasClassName('copyAction')) {
+ this._transfer('copy_message');
+ }
+ } else if (elt.match('SPAN.toggleQuoteShow')) {
+ [ elt, elt.next() ].invoke('toggle');
+ Effect.BlindDown(elt.next(1), { duration: 0.2, queue: { position: 'end', scope: 'showquote', limit: 2 } });
+ } else if (elt.match('SPAN.toggleQuoteHide')) {
+ [ elt, elt.previous() ].invoke('toggle');
+ Effect.BlindUp(elt.next(), { duration: 0.2, queue: { position: 'end', scope: 'showquote', limit: 2 } });
}
+
+ elt = elt.up();
}
}
$list_info = $imp_ui->getListInformation($header);
$hideBlocks = $list_info['exists'];
}
- $filters['highlightquotes'] = array('hideBlocks' => $hideBlocks);
+ $filters['highlightquotes'] = array('hideBlocks' => $hideBlocks, 'outputJS' => false);
}
// Highlight simple markup of an email.