diff options
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/process/rate.cgi | 5 | ||||
-rw-r--r-- | httemplate/edit/rate.cgi | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/edit/process/rate.cgi b/httemplate/edit/process/rate.cgi index df7c4672e..031f8d14e 100755 --- a/httemplate/edit/process/rate.cgi +++ b/httemplate/edit/process/rate.cgi @@ -1,4 +1,7 @@ <% -my $server = new FS::rate::JSRPC; +#my $server = new FS::rate::JSRPC; +#$server->process; +my $server = new FS::UI::Web::JSRPC 'FS::rate::process'; +###wtf###$server->start_job; $server->process; %> diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 3443f81d4..4a0294033 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -55,7 +55,8 @@ function process () { } jsrsPOST = true; - jsrsExecute( 'process/rate.cgi', myCallback, 'process_rate', Hash ); + //jsrsExecute( 'process/rate.cgi', myCallback, 'process_rate', Hash ); + jsrsExecute( 'process/rate.cgi', myCallback, 'start_job', Hash ); function myCallback( jobnum ) { var progressWindow = window.open('../../misc/progress.html?jobnum=' + jobnum + ';url=<%=$p%>browse/rate.cgi', 'progressWindow', 'toolbar=no,location=no,directories=no,scrollbars=no,menubar=no,status=no,width=420,height=128'); |