From a9540691f7d4af9098f6373bdba0a48ab0a61d8b Mon Sep 17 00:00:00 2001 From: Ruel Tmeizeh - RuhNet Date: Mon, 19 Aug 2024 13:48:51 -0400 Subject: [PATCH] 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. --- submodules/users/users.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/users/users.js b/submodules/users/users.js index dadebc1..219f09b 100644 --- a/submodules/users/users.js +++ b/submodules/users/users.js @@ -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 } } });