summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-07-19 19:26:55 +0000
committerthomascube <thomas@roundcube.net>2011-07-19 19:26:55 +0000
commit71cc6bf630f2a0bc12091515418f6d23e18d2720 (patch)
treefdbcdf0ab81aef21e3f382fd54a3ff5d8427cd9d /program/steps
parent8d0999f3edbfc11b783752b9023b764bc146afe0 (diff)
Add drop-target for root folder; fix row insertion when moving to a protected folder
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/settings/folders.inc7
1 files changed, 7 insertions, 0 deletions
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', '&nbsp;');
+ $table->add(null, '&nbsp;');
+
+ $a_js_folders['mailboxroot'] = array('.', '', true);
+
$checkbox_subscribe = new html_checkbox(array(
'name' => '_subscribed[]',
'title' => rcube_label('changesubscription'),