Revision 4bae16da
Von Bernd Blessmann vor mehr als 13 Jahren hinzugefügt
bin/mozilla/amcvar.pl | ||
---|---|---|
$main::lxdebug->leave_sub();
|
||
}
|
||
|
||
sub update {
|
||
$main::lxdebug->enter_sub();
|
||
|
||
my $form = $main::form;
|
||
|
||
$main::auth->assert('config');
|
||
|
||
$form->{included_by_default} = $form->{inclusion} eq 'yes_default_on';
|
||
$form->{includeable} = $form->{inclusion} ne 'no';
|
||
|
||
display_cvar_config_form();
|
||
|
||
$main::lxdebug->leave_sub();
|
||
}
|
||
|
||
|
||
sub dispatcher {
|
||
my $form = $main::form;
|
||
my $locale = $main::locale;
|
||
|
||
foreach my $action (qw(list_cvar_configs add_cvar_config)) {
|
||
foreach my $action (qw(list_cvar_configs add_cvar_config update)) {
|
||
if ($form->{"action_${action}"}) {
|
||
call_sub($action);
|
||
return;
|
||
... | ... | |
}
|
||
|
||
1;
|
||
|
doc/changelog | ||
---|---|---|
Liste gefixter Bugs aus dem Bugtracker:
|
||
|
||
- Bugfix 1640: Buchungen werden falsch zugeordnet, wenn man Konten umkonfiguriert
|
||
- Bugfix 1753: Benutzerdefinierte Variable f. Waren: bearbeitbar nicht auswählbar
|
||
|
||
|
||
2011-06-15 - Release 2.6.3
|
templates/webpages/amcvar/display_cvar_config_form.html | ||
---|---|---|
name = 'module',
|
||
id_key = 'module',
|
||
label_key = 'description',
|
||
DATA = MODULES %]
|
||
DATA = MODULES,
|
||
onChange = "document.getElementById('update_button').click();" %]
|
||
</td>
|
||
</tr>
|
||
|
||
... | ... | |
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
|
||
|
||
<p>
|
||
<input type="submit" name="action" id="update_button" value="[% 'Update' | $T8 %]">
|
||
<input type="submit" name="action" value="[% 'Save' | $T8 %]">
|
||
[%- IF id %]
|
||
<input type="submit" name="action" value="[% 'Delete' | $T8 %]">
|
Auch abrufbar als: Unified diff
Fix für Bug 1753, Benutzerdefinierte Variable f. Waren: bearbeitbar nicht auswählbar
Es gibt jetzt ein Erneuern-Knopf. Und dieser wird auch beim Wechseln des Modules
ausgelöst.