diff --git a/app/components/startContainer/startContainerController.js b/app/components/startContainer/startContainerController.js index 354d2d6a3..bc7527be8 100644 --- a/app/components/startContainer/startContainerController.js +++ b/app/components/startContainer/startContainerController.js @@ -40,7 +40,7 @@ angular.module('startContainer', ['ui.bootstrap']) function rmEmptyKeys(col) { for (var key in col) { - if (col[key] === null || col[key] === undefined || col[key] === '' || $.isEmptyObject(col[key]) || col[key].length === 0) { + if (col[key] === null || col[key] === undefined || col[key] === '' || ($.isPlainObject(col[key]) && $.isEmptyObject(col[key])) || col[key].length === 0) { delete col[key]; } }