Changeset 9233
- Timestamp:
- 03/16/10 05:22:04 (2 years ago)
- Files:
-
- modules/branches/2.8/fax/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.8/fax/functions.inc.php
r9137 r9233 387 387 $html='<script type="text/javascript">$(document).ready(function(){ 388 388 $("input[name=Submit]").click(function(){ 389 if($("input[name=faxenabled]:checked").val()=="true" && !$(" input[name=gotoFAX]:checked").val()){//ensure the user selected a fax destination389 if($("input[name=faxenabled]:checked").val()=="true" && !$("[name=gotoFAX]").val()){//ensure the user selected a fax destination 390 390 alert('._('"You have selected Fax Detection on this route. Please select a valid destination to route calls detected as faxes to."').');return false; } }) });</script>'; 391 391 $html .= '<tr><td colspan="2"><h5>'; … … 460 460 $html.='<table class="faxdest27 faxdetect" style="display: none" >'; 461 461 } 462 $html.='<tr class="faxdest"><td><a href="#" class="info">'._("Fax Destination").'<span>'._('Where to send the call if we detect that its a fax').'.</span></a>:</td></tr>'; 463 $html.=$fax_detect?drawselects(isset($fax['destination'])?$fax['destination']:null,'FAX'):''; 464 $html.='</table>'; 462 $html.='<tr class="faxdest"><td><a href="#" class="info">'._("Fax Destination").'<span>'._('Where to send the call if we detect that its a fax').'.</span></a>:</td>'; 463 $html.='<td>'; 464 $html.=$fax_detect?drawselects(isset($fax['destination'])?$fax['destination']:null,'FAX',false,false):''; 465 $html.='</td></tr></table>'; 465 466 $html.='<table>'; 466 467 }
