1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 09:14:58 +02:00

Fix inputfields.js JS issue mentioned in forum via @matjazpotocnik

Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
This commit is contained in:
Ryan Cramer
2023-04-16 09:58:51 -04:00
parent 318bc0aba3
commit 3f2488de7d
2 changed files with 2 additions and 1 deletions

View File

@@ -1046,6 +1046,7 @@ function InputfieldDependencies($target) {
*/
function parseValue(str, str2) {
if(typeof str === 'undefined') return '';
str = str.toString().trim();
if(str.length > 0) {

File diff suppressed because one or more lines are too long