Browse Source

Removed validation requiring URL for user customized call recording.

Customized call recording should be enable-able without using an external URL.
Call recording witout specifying an upload URL will use the default storage method.
- Removed requirement of 'url' parameter on the customized call recording form.
- Check URL input on form, and don't process it if it is empty.
4.3
Ruel Tmeizeh - RuhNet 1 year ago
parent
commit
a9540691f7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      submodules/users/users.js

+ 2
- 2
submodules/users/users.js View File

@ -3022,7 +3022,7 @@ define(function(require) {
}
});
if (formData.hasOwnProperty('url')) {
if (formData.hasOwnProperty('url') && formData.url != '') {
_.each(user.call_recording, function(category, categoryName) {
_.each(category, function(direction, directionName) {
if (direction.enabled === true) {
@ -3064,7 +3064,7 @@ define(function(require) {
digits: true
},
'url': {
required: true
required: false
}
}
});


Loading…
Cancel
Save