X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5202b3e71b817c6a78845cd4c27773760ff408b6..51a586e7fce096525d476919e809945a04dcf2ab:/bin/mozilla/am.pl diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 0b35fc7d9..0b29a83a9 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -669,14 +669,14 @@ sub config { $myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details})); $form->{CAN_CHANGE_PASSWORD} = $main::auth->can_change_password(); $form->{todo_cfg} = { TODO->get_user_config('login' => $::myconfig{login}) }; - - $::request->{layout}->use_javascript("jquery.multiselect2side.js"); $form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login}); + $::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery); + setup_am_config_action_bar(); $form->header(); - $form->{full_signature} = $form->create_email_signature(); + $form->{company_signature} = SL::DB::Default->get->signature; print $form->parse_html_template('am/config'); @@ -1338,6 +1338,7 @@ sub save_warehouse { $main::auth->assert('config'); $form->isblank("description", $locale->text('Description missing!')); + $form->isblank("number_of_new_bins", $locale->text('Number') . $locale->text(' missing!')); $form->{number_of_new_bins} = $form->parse_amount(\%myconfig, $form->{number_of_new_bins});