Hello,
I've created several macros and they all worked really well. Recently, I've created a "Progress Bar Macro", which is shown bellow. But it only works once per page and I don't know why.
It doesn't matter if I copy the first instance of the macro or call it from the Macros Browser. The second, third,.... same macro just doesn't work.
I don't get it why. All other user macros I've created are behaving normally, when I copy/use them more than once in page.
I realize that somehow a class defined/mentioned in one macro is confusing other macros that also have the same class. The funny part is that these "other" macros are practically the same as the source...
So is it a bug or something else?
Any help will be appreciated.
## @param ProgressStatus:title=Progress Status in %|type=string|required=true|default=0|desc=Value must be between 0-100
<div style="text-align:right">Progress Status: $paramProgressStatus%</div>
<div class="aui-progress-indicator progressBar">
<span class="aui-progress-indicator-value"></span>
</div>
<script type="text/javascript">
$paramProgressStatus100=$paramProgressStatus/100
AJS.progressBars.update(".progressBar", $paramProgressStatus100);
</script>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.