mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +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:
@@ -1046,6 +1046,7 @@ function InputfieldDependencies($target) {
|
|||||||
*/
|
*/
|
||||||
function parseValue(str, str2) {
|
function parseValue(str, str2) {
|
||||||
|
|
||||||
|
if(typeof str === 'undefined') return '';
|
||||||
str = str.toString().trim();
|
str = str.toString().trim();
|
||||||
|
|
||||||
if(str.length > 0) {
|
if(str.length > 0) {
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user