Commit 89ca3897 authored by Sven Franck's avatar Sven Franck

app: fixed action button missing class action to trigger action

parent 3d34d589
......@@ -504,7 +504,7 @@
"type": "a",
"direct": {
"title": spec.logic.action.text || "Search",
"className": "ui-input-action ui-btn ui-icon-" +
"className": "action ui-input-action ui-btn ui-icon-" +
(spec.logic.action.icon || "search") +
" ui-btn-icon-notext ui-corner-all translate " +
(theme ? ("ui-btn-" + theme) : ""),
......@@ -2981,6 +2981,10 @@
// content.set..., no need for dynamic content and pointer
map.actions = {
"custom_search": function (obj) {
},
"set_search": function (obj) {
factory.util.setDynamicPointer(obj, "ui_panel_detail_search");
},
......@@ -5223,6 +5227,7 @@
if (tag === "SPAN" || tag === "OPTION") {
return;
}
// map
action = e.target.getAttribute("data-action");
if (!action) {
......
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