Revision a871ab4c
Von Sven Schöling vor fast 13 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
43 | 43 |
use SL::Iconv; |
44 | 44 |
use SL::TODO; |
45 | 45 |
use SL::Printer; |
46 |
use CGI::Ajax; |
|
47 | 46 |
use CGI; |
48 | 47 |
|
49 | 48 |
require "bin/mozilla/common.pl"; |
... | ... | |
495 | 494 |
$ca->{link_edit_account} = $link_edit_account . '&id=' . E($ca->{id}); |
496 | 495 |
} |
497 | 496 |
|
498 |
# Ajax |
|
499 |
my $pjx = new CGI::Ajax('list_account_details' => build_std_url('action=list_account_details')); |
|
500 |
|
|
501 |
# Eneable AJAX debuging |
|
502 |
#$pjx->DEBUG(1); |
|
503 |
#$pjx->JSDEBUG(1); |
|
504 |
|
|
505 |
push(@ { $form->{AJAX} }, $pjx); |
|
506 |
|
|
507 | 497 |
$form->use_stylesheet("list_accounts.css"); |
508 | 498 |
$form->{title} = $locale->text('Chart of Accounts'); |
509 | 499 |
|
... | ... | |
586 | 576 |
} |
587 | 577 |
|
588 | 578 |
$form->{title} = $locale->text('Chart of Accounts'); |
589 |
$form->header(); |
|
590 | 579 |
|
591 |
print $form->parse_html_template('am/list_account_details'); |
|
580 |
print $form->ajax_response_header, $form->parse_html_template('am/list_account_details');
|
|
592 | 581 |
|
593 | 582 |
$main::lxdebug->leave_sub(); |
594 | 583 |
|
Auch abrufbar als: Unified diff
CGI::Ajax aus am/list_accounts entfernt.