X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdo.pl;h=fef0940ce620a74338baea80029e476910acef0c;hb=a19d5fb7fc372f5931d704c427ee14e1c1c1ddae;hp=ff902172d09a2bac6f49ddd41148ab2b8e6993d0;hpb=6bab0fff323c36de9e247487f043da1b29dea6fd;p=kivitendo-erp.git diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index ff902172d..fef0940ce 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -247,7 +247,6 @@ sub setup_do_action_bar { [ t8('Update'), submit => [ '#form', { action => "update" } ], id => 'update_button', - checks => [ 'kivi.validate_form' ], accesskey => 'enter', ], @@ -337,6 +336,7 @@ sub setup_do_action_bar { t8('E Mail'), call => [ 'kivi.SalesPurchase.show_email_dialog' ], checks => [ 'kivi.validate_form' ], + disabled => !$::form->{id} ? t8('This record has not been saved yet.') : undef, ], ], # end of combobox "Export" @@ -706,7 +706,7 @@ sub orders { push @hidden_variables, $form->{vc}, qw(l_closed l_notdelivered open closed delivered notdelivered donumber ordnumber serialnumber cusordnumber transaction_description transdatefrom transdateto reqdatefrom reqdateto type vc employee_id salesman_id project_id parts_partnumber parts_description - insertdatefrom insertdateto business_id all); + insertdatefrom insertdateto business_id all department_id); my $href = build_std_url('action=orders', grep { $form->{$_} } @hidden_variables);