From 99921a823a33cad830b57667b5184c812c7e254a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 20 Jul 2013 13:46:17 +0000 Subject: [PATCH] no more need for default type "popup" --- mail/inc/class.mail_ui.inc.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 10d9c71eaf..42c8741af0 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -265,17 +265,14 @@ class mail_ui // Tree does support this one 'add' => array( 'caption' => 'Add Folder', - 'type' => 'popup', 'onExecute' => 'javaScript:app.mail.mail_AddFolder' ), - 'rename' => array( + 'edit' => array( 'caption' => 'Rename Folder', - 'type' => 'popup', 'onExecute' => 'javaScript:app.mail.mail_RenameFolder' ), 'delete' => array( 'caption' => 'Delete Folder', - 'type' => 'popup', 'onExecute' => 'javaScript:app.mail.mail_DeleteFolder' ) )); @@ -649,7 +646,7 @@ class mail_ui $parent = implode(self::$delimiter, $parents); if ($parent) $parent .= self::$delimiter; } - + if (!is_array($insert) || !isset($insert['item'])) { // throwing an exeption here seems to be unrecoverable, even if the cause is a something that can be handeled by the mailserver @@ -1640,7 +1637,7 @@ unset($query['actions']); + $field_data; } } - + if (empty($subject)) $subject = lang('no subject'); $content['msg'] = (is_array($error_msg)?implode("
",$error_msg):$error_msg); $content['mail_displaydate'] = mail_bo::_strtotime($headers['DATE'],'ts',true); @@ -2523,7 +2520,7 @@ blockquote[type=cite] { function image_callback($matches) { static $cache = array(); // some caching, if mails containing the same image multiple times - + $linkData = array ( 'menuaction' => 'mail.mail_ui.displayImage', 'uid' => $this->uid,