| Fix up a couple little bugs - warvox - VoIP based wardialing tool, forked from … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 4a7fea3c82f0ad575254fffb5a581e2d7a15c6a1 | |
| parent 4abcd8f39f245c31f30752f92c4979dbf18879e7 | |
| Author: HD Moore <[email protected]> | |
| Date: Thu, 5 Mar 2009 07:47:18 +0000 | |
| Fix up a couple little bugs | |
| Diffstat: | |
| M web/app/controllers/dial_jobs_cont… | 5 ++--- | |
| M web/app/views/dial_results/analyze… | 2 +- | |
| 2 files changed, 3 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/web/app/controllers/dial_jobs_controller.rb b/web/app/controllers/… | |
| @@ -36,9 +36,8 @@ class DialJobsController < ApplicationController | |
| flash[:notice] = 'Job is already running or completed' | |
| return | |
| end | |
| - | |
| - dialer = WarVOX::Jobs::Dialer.new(@dial_job.id) | |
| - WarVOX::JobManager.schedule(dialer) | |
| + | |
| + WarVOX::JobManager.schedule(::WarVOX::Jobs::Dialer, @dial_job.id) | |
| redirect_to :action => 'index' | |
| end | |
| diff --git a/web/app/views/dial_results/analyze.html.rb b/web/app/views/dial_re… | |
| @@ -15,7 +15,7 @@ | |
| </table> | |
| <script language="javascript"> | |
| - setTimeout("location.reload(true);", 5000); | |
| + setTimeout("location.reload(true);", 10000); | |
| </script> | |
| <% else %> |