diff --git a/custom_ROToolbox.js b/custom_ROToolbox.js index 4f27112..740cede 100644 --- a/custom_ROToolbox.js +++ b/custom_ROToolbox.js @@ -293,6 +293,9 @@ function transformRO() { }); $("p:contains('@Layout')").parent().parent().each(function() { applyLayoutTemplate("@Layout", $(this)) + }); + $("p:contains('@Hidden')").parent().parent().each(function() { + hidePrompt("@Hidden", $(this)) }); app.lib.mask.remove(); app.events.publish('ROToolboxDone'); @@ -323,6 +326,12 @@ function recompAngularElement(recompEle) { } } +function hidePrompt(tag, tagElement) { + var target = tagElement.next(); + $(target).hide(); + tagElement.remove(); +} + function addInformation(tag, tagElement) { var userDefined = parseOptions(tag, tagElement); if (!userDefined.info && !userDefined.icon) {