From 28dc4e0d8aeaea5a17afd4cd15d42c7028cd3cb2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 8 Jul 2016 18:34:28 +0200 Subject: [PATCH] Added missing JSON parsing --- wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Handler.js index 21e7ab98af..0a07f3ec28 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Acp/Ui/Box/Handler.js @@ -147,7 +147,7 @@ define(['Dictionary', 'WoltLab/Wcf/Ui/Page/Search/Handler'], function(Dictionary * @protected */ _setAvailableBoxPositions: function() { - var supportedPositions = elData(_boxController.options[_boxController.selectedIndex], 'supported-positions'); + var supportedPositions = JSON.parse(elData(_boxController.options[_boxController.selectedIndex], 'supported-positions')); var option; for (var i = 0, length = _position.childElementCount; i < length; i++) { -- 2.20.1