Commit 216de49b authored by Sven Franck's avatar Sven Franck

app: fixed submit button getting no icon

parent f3a7e2fd
......@@ -2691,7 +2691,9 @@
string = "";
// NOTE: we only set on <a>
if (element.type === "a") {
// TODO: find a better way than to run everything through here...!
if (element.type === "a" ||
(element.attributes && element.attributes.type === "submit")) {
icon = (element.attributes || {})["data-icon"] || default_icon;
// because of custom a in service_instance_status!
if (!(element.logic || {}).plain_link) {
......
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