Revision ed667cac
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
bin/mozilla/gl.pl | ||
---|---|---|
45 | 45 |
use SL::DBUtils qw(selectrow_query); |
46 | 46 |
|
47 | 47 |
require "bin/mozilla/common.pl"; |
48 |
require "bin/mozilla/drafts.pl"; |
|
49 | 48 |
require "bin/mozilla/reportgenerator.pl"; |
50 | 49 |
|
51 | 50 |
# this is for our long dates |
... | ... | |
84 | 83 |
my $form = $main::form; |
85 | 84 |
my %myconfig = %main::myconfig; |
86 | 85 |
|
87 |
return $main::lxdebug->leave_sub() if (load_draft_maybe()); |
|
88 |
|
|
89 | 86 |
$form->{title} = "Add"; |
90 | 87 |
|
91 | 88 |
$form->{callback} = "gl.pl?action=add" unless $form->{callback}; |
... | ... | |
1160 | 1157 |
|
1161 | 1158 |
post_transaction(); |
1162 | 1159 |
|
1163 |
$form->{callback} = build_std_url("action=add&DONT_LOAD_DRAFT=1", "show_details");
|
|
1160 |
$form->{callback} = build_std_url("action=add", "show_details"); |
|
1164 | 1161 |
$form->redirect($form->{callback}); |
1165 | 1162 |
|
1166 | 1163 |
$main::lxdebug->leave_sub(); |
Auch abrufbar als: Unified diff
Drafts: gl auch eingebunden