Commit 92bf8ace authored by Sven Franck's avatar Sven Franck

app: added custom actions

parent 960afe58
......@@ -2718,6 +2718,8 @@
**/
// TODO: this whole thing should be loaded optionally
// TODO: best would be that a widget loads it's actions
// TODO: instead of setting links, retrieve URL right away and call
// content.set..., no need for dynamic content and pointer
map.actions = {
"set_search": function (obj) {
......@@ -2725,13 +2727,17 @@
},
"set_filter": function (obj) {
factory.util.setDynamicPointer(obj, "ui_panel_categories");
factory.util.setDynamicPointer(obj, "ui_panel_groups");
},
"set_sorting": function (obj) {
factory.util.setDynamicPointer(obj, "ui_panel_sort");
},
"set_sales": function (obj) {
factory.util.setDynamicPointer(obj, "ui_panel_sales");
},
// =================================================
/**
* POST an object
......
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