mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
DOMNode is available as third parameter since the first and second are reserved for event and widget
This commit is contained in:
parent
814e5d1204
commit
5cceb7febc
@ -742,12 +742,19 @@ app.classes.mail = AppJS.extend(
|
||||
* The widget to be expended is set in the event data.
|
||||
*
|
||||
* requires: mainWindow, one mail selected for preview
|
||||
*
|
||||
*
|
||||
* @param {jQuery event} event
|
||||
* @param {Object} widget
|
||||
* @param {DOMNode} button
|
||||
*/
|
||||
showAllHeader: function(button) {
|
||||
showAllHeader: function(event,widget,button) {
|
||||
// Show list as a list
|
||||
var list = jQuery(button).prev();
|
||||
/* if (list.length <= 0)
|
||||
{
|
||||
list = jQuery(button.target).prev();
|
||||
}*/
|
||||
|
||||
list.toggleClass('visible');
|
||||
|
||||
// Revert if user clicks elsewhere
|
||||
|
Loading…
Reference in New Issue
Block a user