From 71cc6bf630f2a0bc12091515418f6d23e18d2720 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 19 Jul 2011 19:26:55 +0000 Subject: Add drop-target for root folder; fix row insertion when moving to a protected folder --- program/steps/settings/folders.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'program/steps/settings') diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc index cc149bc79..982b21a12 100644 --- a/program/steps/settings/folders.inc +++ b/program/steps/settings/folders.inc @@ -251,6 +251,13 @@ function rcube_subscription_form($attrib) unset($seen); + // add drop-target representing 'root' + $table->add_row(array('id' => 'mailboxroot', 'class' => 'virtual root')); + $table->add('name', ' '); + $table->add(null, ' '); + + $a_js_folders['mailboxroot'] = array('.', '', true); + $checkbox_subscribe = new html_checkbox(array( 'name' => '_subscribed[]', 'title' => rcube_label('changesubscription'), -- cgit v1.2.3