From 1fdb55a99eea99eea325c642b4c06d866d0d1b19 Mon Sep 17 00:00:00 2001 From: JohnDoh Date: Sun, 29 Dec 2013 12:07:14 +0000 Subject: re-add lost group_delete js event --- program/js/app.js | 1 + 1 file changed, 1 insertion(+) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index 44afd5c7c..da102143f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5048,6 +5048,7 @@ function rcube_webmail() { 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]; } -- cgit v1.2.3 From 7a3c0c96c469d0855ba27476fc6adde25ae8fa72 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 2 Jan 2014 12:15:15 +0100 Subject: Use '0' instead of 0, to fix possible issue. --- program/lib/Roundcube/html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index f6f744cb2..587b030ce 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -677,8 +677,8 @@ class html_table extends html */ 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']; -- cgit v1.2.3 From 4957530dec4fea360bac9e5da8f8d5b2ad51cd9b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 2 Jan 2014 12:43:04 +0100 Subject: Fix an obvious mistake in search_once() casing wrong result when called with empty 2nd argument (which also is not what should happen, should we return error?) --- program/lib/Roundcube/rcube_imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php index 4c3bf6fcd..432227091 100644 --- a/program/lib/Roundcube/rcube_imap.php +++ b/program/lib/Roundcube/rcube_imap.php @@ -1444,7 +1444,7 @@ class rcube_imap extends rcube_storage public function search_once($folder = null, $str = 'ALL') { if (!$str) { - return 'ALL'; + $str = 'ALL'; } if (!strlen($folder)) { -- cgit v1.2.3