Skip to content
Snippets Groups Projects
Commit 97dd255f authored by Simon Urli's avatar Simon Urli
Browse files

XCOMMONS-1839: Velocity macro parameter name can break passed parameter expression

  * Workaround a velocity regression by using all parameters in
    locationPicker_macros #hierarchy call.
parent 3b37d42f
No related branches found
No related tags found
No related merge requests found
...@@ -47,14 +47,14 @@ ...@@ -47,14 +47,14 @@
<dd> <dd>
#if ($isDocumentTreeAvailable) #if ($isDocumentTreeAvailable)
#documentPickerModal($options) #documentPickerModal($options)
#locationPickerActions #locationPickerActions()
#end #end
## The breadcrumb is updated whenever the user changes the parent page. This causes the breadcrumb element to be ## The breadcrumb is updated whenever the user changes the parent page. This causes the breadcrumb element to be
## constantly replaced, preventing us from displaying the live validation message after it. In order to overcome ## constantly replaced, preventing us from displaying the live validation message after it. In order to overcome
## this, we wrap the breadcrumb element in a DIV that remains the same. ## this, we wrap the breadcrumb element in a DIV that remains the same.
<div class="breadcrumb-container"> <div class="breadcrumb-container">
## Note: We display only the parent reference here. The new document part will be added from JavaScript. ## Note: We display only the parent reference here. The new document part will be added from JavaScript.
#hierarchy($options.parent.reference) #hierarchy($options.parent.reference $options)
</div> </div>
## ##
## --------------------------------------------------------------------------------------------------------- ## ---------------------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment