From 84bddee2cef4486777dfcf9bc31d986e29f44880 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Dec 2022 19:41:36 +0530 Subject: [PATCH] Treat none as a boolean false in drag-and-drop --- ui/media/js/dnd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index 37d99d44..b5d91880 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -25,6 +25,7 @@ function parseBoolean(stringValue) { case "no": case "off": case "0": + case "none": case null: case undefined: return false;