Changeset 1888
- Timestamp:
- 05/07/06 11:37:51 (7 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/modules/core/page.did.php
r1875 r1888 228 228 var msgInvalidPause = "<?php echo _('Please enter a valid number for Pause after answer'); ?>"; 229 229 var msgConfirmDIDCIDBlank = "<?php echo _('Leaving the DID Number AND the Caller ID Number empty will match all incoming calls received not routed using any other defined Incoming Route.\n\nAre you sure?'); ?>"; 230 230 var msgConfirmDIDNonStd = "<?php echo _('DID information is normally just an incoming telephone number or for advanced users, a valid Asterisk Dial Pattern\n\nYou have entered a non standard DID pattern.\n\nAre you sure this is correct?'); ?>"; 231 231 232 setDestinations(theForm,1); 232 233 233 234 defaultEmptyOK = true; 234 if (!isDialpattern(theForm.extension.value)) 235 return warnInvalid(theForm.extension, msgInvalidDIDNumb); 235 if (!isDialpattern(theForm.extension.value)) { 236 // warn the user that DID is normally numbers 237 if (!confirm(msgConfirmDIDNonStd)) 238 return false; 239 } 236 240 237 241 if (!isDialpattern(theForm.cidnum.value))
