Skip to content

Commit

Permalink
Merge pull request #14 from doyle-johnpaul/SMP941_Compatibility_Release
Browse files Browse the repository at this point in the history
Smp941 compatibility release
  • Loading branch information
doyle-johnpaul authored Apr 15, 2021
2 parents 9ce4bec + 6c4660a commit 4d8d88c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions custom_ROToolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4d8d88c

Please sign in to comment.