From 2048280f0e24c8e515d692b02948eb3bcf32f714 Mon Sep 17 00:00:00 2001 From: karl anderson Date: Wed, 23 Dec 2015 18:40:15 -0800 Subject: [PATCH] 3.22: now that we have combo keys start at 0 --- submodules/devices/devices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js index 8f84bbb1..57f6bdce 100644 --- a/submodules/devices/devices.js +++ b/submodules/devices/devices.js @@ -167,7 +167,7 @@ define(function(require){ dataDevice.provision.feature_keys = {}; } - for (var i = 1, len = template.feature_keys.iterate; i < len; i++) { + for (var i = 0, len = template.feature_keys.iterate; i < len; i++) { if (!dataDevice.provision.feature_keys.hasOwnProperty(i)) { dataDevice.provision.feature_keys[i] = { type: 'none' }; }