Fix chrome search and update job submission button - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 7d82b75381d90c63bc6b68d7bdc863fda75f8af2
DIR parent 73e52672666c443f5cc12b5d4cf887683e35d6d6
HTML Author: HD Moore <hd_moore@rapid7.com>
Date: Sat, 12 Jan 2013 01:58:06 -0600
Fix chrome search and update job submission button
Diffstat:
M app/controllers/jobs_controller.rb | 1 +
M app/views/jobs/new_dialer.html.erb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/app/controllers/jobs_controller.rb b/app/controllers/jobs_controller.rb
@@ -110,6 +110,7 @@ class JobsController < ApplicationController
param = []
glue = ""
terms.each do |w|
+ next if w.downcase == 'undefined'
where << glue
case w
when 'answered'
DIR diff --git a/app/views/jobs/new_dialer.html.erb b/app/views/jobs/new_dialer.html.erb
@@ -13,7 +13,7 @@
<%= f.input :lines, :as => :number, :label => 'Maximum number of outgoing lines', :input_html => { :value => 1 } %>
<%= f.input :cid_mask, :as => :string, :label => 'The source Caller ID range (1-555-555-55XX or SELF)', :input_html => { :value => '1-123-456-XXXX' } %>
- <%= f.action :submit, :label => 'Create', :button_html => { :class => 'btn btn-large fbtn' } %>
+ <%= f.action :submit, :label => 'Dial', :button_html => { :class => 'btn btn-large fbtn' } %>
<a class="btn btn-link" href="<%= jobs_path %>" rel="tooltip" title="Return to jobs"><i class="icon-return"></i>Cancel</a>
<% end %>