forked from extern/egroupware
use new getNode function on tree widget to get node and its attributes
This commit is contained in:
parent
ec989fc535
commit
95eb49aa85
@ -458,6 +458,7 @@ class mail_ui
|
||||
'edit_acl' => array(
|
||||
'caption' => 'Edit folder ACL ...',
|
||||
'icon' => 'blocks',
|
||||
'enabled' => 'javaScript:app.mail.mail_CheckFolderNoSelect',
|
||||
'onExecute' => 'javaScript:app.mail.edit_acl',
|
||||
),
|
||||
);
|
||||
|
@ -863,13 +863,14 @@ app.classes.mail = AppJS.extend(
|
||||
// Abort if user selected an un-selectable node
|
||||
// Use image over anything else because...?
|
||||
var ftree = this.et2.getWidgetById(this.nm_index+'[foldertree]');
|
||||
/*
|
||||
if (img.indexOf('NoSelect') !== -1)
|
||||
var node = ftree.getNode(_senders[0].id);
|
||||
|
||||
if (node.im0.indexOf('NoSelect') !== -1)
|
||||
{
|
||||
//ftree.reSelectItem(_previous);
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
return true;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user