Commit 3abfca53 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Give priority to the link on the header's left action icon

parent bb0a0be4
......@@ -173,7 +173,6 @@
// acquired methods\n
//////////////////////////////////////////////\n
.declareAcquiredMethod("translateHtml", "translateHtml")\n
.declareAcquiredMethod("whoWantToDisplayThis", "whoWantToDisplayThis")\n
.declareAcquiredMethod("triggerSubmit", "triggerSubmit")\n
.declareAcquiredMethod("triggerPanel", "triggerPanel")\n
\n
......@@ -313,12 +312,12 @@
};\n
}\n
}\n
if (left_button !== undefined) {\n
if (left_link !== undefined) {\n
promise_list.push(gadget.translateHtml(header_link_template(left_link)));\n
} else if (left_button !== undefined) {\n
promise_list.push(gadget.translateHtml(header_button_template(left_button)));\n
} else if (left_link === undefined) {\n
promise_list.push(gadget.translateHtml(""));\n
} else {\n
promise_list.push(gadget.translateHtml(header_link_template(left_link)));\n
promise_list.push("");\n
}\n
\n
// Handle right link\n
......@@ -566,7 +565,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>romain</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -580,7 +579,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>941.35154.28208.61184</string> </value>
<value> <string>945.51178.48166.46165</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -598,7 +597,7 @@
</tuple>
<state>
<tuple>
<float>1425891407.82</float>
<float>1442418437.6</float>
<string>GMT</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment