summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-29 16:52:40 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-29 16:52:40 +0000
commit5999935e664cce38fd2144f0d70f95724add40f0 (patch)
tree853b21f6145a0a7cfa6080bbebd785a50cbc65bd /roundcubemail/program
parentb6161958acb2a5a510ae54e63ec727c54f1978b2 (diff)
- Fix bug where Import button was disabled (#1326103)
git-svn-id: https://svn.roundcube.net/trunk@4890 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/addressbook/import.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/addressbook/import.inc b/roundcubemail/program/steps/addressbook/import.inc
index fdac9625f..12a8d6b9b 100644
--- a/roundcubemail/program/steps/addressbook/import.inc
+++ b/roundcubemail/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']);