| Fix chrome search and update job submission button - warvox - VoIP based wardia… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7d82b75381d90c63bc6b68d7bdc863fda75f8af2 | |
| parent 73e52672666c443f5cc12b5d4cf887683e35d6d6 | |
| Author: HD Moore <[email protected]> | |
| 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(-) | |
| --- | |
| diff --git a/app/controllers/jobs_controller.rb b/app/controllers/jobs_controll… | |
| @@ -110,6 +110,7 @@ class JobsController < ApplicationController | |
| param = [] | |
| glue = "" | |
| terms.each do |w| | |
| + next if w.downcase == 'undefined' | |
| where << glue | |
| case w | |
| when 'answered' | |
| diff --git a/app/views/jobs/new_dialer.html.erb b/app/views/jobs/new_dialer.htm… | |
| @@ -13,7 +13,7 @@ | |
| <%= f.input :lines, :as => :number, :label => 'Maximum number of outg… | |
| <%= f.input :cid_mask, :as => :string, :label => 'The source Caller I… | |
| - <%= f.action :submit, :label => 'Create', :button_html => { :class => … | |
| + <%= f.action :submit, :label => 'Dial', :button_html => { :class => 'b… | |
| <a class="btn btn-link" href="<%= jobs_path %>" rel="tooltip" title="R… | |
| <% end %> |