From 7e0d2d9d13ff862597b689bc8cd3195dc065bf9b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 04 Jan 2014 05:19:42 -0500 Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail --- program/lib/Roundcube/rcube_imap.php | 2 +- program/lib/Roundcube/html.php | 4 ++-- program/js/app.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 44afd5c..da10214 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5048,6 +5048,7 @@ { var key = 'G'+prop.source+prop.id; if (this.treelist.remove(key)) { + this.triggerEvent('group_delete', { source:prop.source, id:prop.id }); delete this.env.contactfolders[key]; delete this.env.contactgroups[key]; } diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index f6f744c..587b030 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -677,8 +677,8 @@ */ public function __construct($attrib = array()) { - $default_attrib = self::$doctype == 'xhtml' ? array('summary' => '', 'border' => 0) : array(); - $this->attrib = array_merge($attrib, $default_attrib); + $default_attrib = self::$doctype == 'xhtml' ? array('summary' => '', 'border' => '0') : array(); + $this->attrib = array_merge($attrib, $default_attrib); if (!empty($attrib['tagname']) && $attrib['tagname'] != 'table') { $this->tagname = $attrib['tagname']; diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php index 4c3bf6f..4322270 100644 --- a/program/lib/Roundcube/rcube_imap.php +++ b/program/lib/Roundcube/rcube_imap.php @@ -1444,7 +1444,7 @@ public function search_once($folder = null, $str = 'ALL') { if (!$str) { - return 'ALL'; + $str = 'ALL'; } if (!strlen($folder)) { -- Gitblit v1.9.1