Fix a typo that broke custom control parameters

This commit is contained in:
Salandora 2015-10-12 13:54:52 +02:00
parent 1bf46d655d
commit 20676926e6

View file

@ -293,7 +293,7 @@ $(function() {
if (command.hasOwnProperty("command") || command.hasOwnProperty("commands")) {
var commands = command.commands || [command.command];
if (commands.hasOwnProperty("input")) {
if (command.hasOwnProperty("input")) {
var parameters = {};
_.each(command.input, function(input) {
if (!input.hasOwnProperty("parameter") || !input.hasOwnProperty("value")) {