From 76161f1a2ae0f96470bed4089b00eff5abb16cff Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 25 Sep 2005 08:13:36 +0000 Subject: get rid of JSRS iframe foo for progress bar, use XMLHTTPRequest instead. really should have done that in the first place. JSON will wait until another day... --- httemplate/docs/install.html | 1 - httemplate/docs/upgrade10.html | 3 +-- httemplate/edit/cust_main/select-country.html | 6 +++++- httemplate/edit/cust_main/select-county.html | 6 +++++- httemplate/edit/process/part_svc.cgi | 5 ++--- httemplate/edit/process/rate.cgi | 5 ++--- httemplate/elements/jsrsServer.html | 5 ++--- httemplate/elements/progress-init.html | 12 +++++++++--- httemplate/elements/progress-popup.html | 22 ++++++++++++++++------ httemplate/elements/xmlhttp.html | 22 ++++++++++++++++++---- 10 files changed, 60 insertions(+), 27 deletions(-) (limited to 'httemplate') diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 72b1214ec..d89ea3f04 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -61,7 +61,6 @@ Before installing, you need:
  • Chart
  • Crypt::PasswdMD5
  • Locale::SubCountry -
  • JavaScript::RPC (JavaScript::RPC::Server::CGI)
  • Frontier::RPC
  • Text::CSV_XS
  • Spreadsheet::WriteExcel diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html index 98a457ae6..fb51bfb8e 100644 --- a/httemplate/docs/upgrade10.html +++ b/httemplate/docs/upgrade10.html @@ -18,8 +18,7 @@ install HTML::Widgets::SelectLayers 0.05 - In httpd.conf, change <Files ~ \.cgi> to <Files ~ (\.cgi|\.html)> - In httpd.conf, change AddHandler perl-script .cgi or SetHandler perl-script to AddHandler perl-script .cgi .html -install NetAddr::IP, Chart::Base, Locale::SubCountry, -JavaScript::RPC (JavaScript::RPC::Server::CGI), Text::CSV_XS, +install NetAddr::IP, Chart::Base, Locale::SubCountry, Text::CSV_XS, Spreadsheet::WriteExcel, IO-stringy (IO::Scalar), Frontier::RPC (Frontier::RPC2), MIME::Entity (MIME-tools) and IPC::Run3 diff --git a/httemplate/edit/cust_main/select-country.html b/httemplate/edit/cust_main/select-country.html index 44f4f0a55..014effd66 100644 --- a/httemplate/edit/cust_main/select-country.html +++ b/httemplate/edit/cust_main/select-country.html @@ -10,7 +10,11 @@ %> -<%= include('/elements/xmlhttp.html', $p.'misc/states.cgi', $opt{'prefix'}. 'get_states') %> +<%= include('/elements/xmlhttp.html', + 'url' => $p.'misc/states.cgi', + 'subs' => [ $opt{'prefix'}. 'get_states' ], + ) +%> +<%= include('/elements/xmlhttp.html', + 'url' => $action, + 'subs' => [ 'start_job' ], + ) +%> +<%= include('/elements/xmlhttp.html', + 'url' => $p.'elements/jsrsServer.html', + 'subs' => [ 'job_status' ], + ) +%>