summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-29 16:52:40 +0000
committeralecpl <alec@alec.pl>2011-06-29 16:52:40 +0000
commitf5803dfda141ce16966d74d1dca0b3e7b6f614d8 (patch)
treef2e0b751800b0b1eac8d8a0384d06d99db8d52e0 /program/steps
parent9caf9caf9ee2dcf0d7c9a8e6747074ccc811cb11 (diff)
- Fix bug where Import button was disabled (#1326103)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/addressbook/import.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/addressbook/import.inc b/program/steps/addressbook/import.inc
index fdac9625f..12a8d6b9b 100644
--- a/program/steps/addressbook/import.inc
+++ b/program/steps/addressbook/import.inc
@@ -54,6 +54,7 @@ function rcmail_import_form($attrib)
$form .= html::p(null, $check_replace->show(get_input_value('_replace', RCUBE_INPUT_GPC)) .
html::label('rcmimportreplace', rcube_label('importreplace')));
+ $OUTPUT->set_env('writable_source', !empty($writable_books));
$OUTPUT->add_label('selectimportfile','importwait');
$OUTPUT->add_gui_object('importform', $attrib['id']);