Fixing json parser issue in operation-bar - UI

revert-dabc3590
dilanua 8 years ago
parent 0c77266640
commit 6ee9a61ed1

@ -110,7 +110,7 @@ function loadOperationBar(deviceType) {
var successCallback = function (data) {
var permittedOperations = [];
var i;
var permissionList = JSON.parse($("#operations-mod").data("permissions"));
var permissionList = $("#operations-mod").data("permissions");
var totalFeatures = JSON.parse(data);
for (i = 0; i < permissionList[deviceType].length; i++) {
var j;

Loading…
Cancel
Save