diff --git a/core/modules/widgets/parameters.js b/core/modules/widgets/parameters.js index e0f301113..0e230303f 100644 --- a/core/modules/widgets/parameters.js +++ b/core/modules/widgets/parameters.js @@ -49,7 +49,7 @@ ParametersWidget.prototype.execute = function() { while(pointer) { if(pointer instanceof TranscludeWidget) { depth--; - if(depth === 0) { + if(depth <= 0) { break; } }