From 71cc6bf630f2a0bc12091515418f6d23e18d2720 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 19 Jul 2011 15:26:55 -0400 Subject: [PATCH] Add drop-target for root folder; fix row insertion when moving to a protected folder --- program/steps/settings/folders.inc | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc index cc149bc..982b21a 100644 --- a/program/steps/settings/folders.inc +++ b/program/steps/settings/folders.inc @@ -251,6 +251,13 @@ 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'), -- Gitblit v1.9.1