Compare View
Commits (2)
-
… be rendered instead of the show apps. The bug was when the web content and web space was set to another i.e. "DASHBOARD". The dashboard content was rendered instead of the "show apps" of hayamiki. [!] set the right version (1.19) instead of (1.19.1) of the library
Showing
2 changed files
Show diff stats
src/web_controller/hayamiki.anubis
| ... | ... | @@ -757,6 +757,18 @@ define (WEB_Session) -> WEB_Controller_Result |
| 757 | 757 | with _T = make_translate_function(_session), |
| 758 | 758 | lwa = _session.web_request.lwa, |
| 759 | 759 | web_site_directory = get_web_site_directory(_session), |
| 760 | + | |
| 761 | + //set the web space | |
| 762 | + set_web_space(_session, "HK"); | |
| 763 | + | |
| 764 | + //Set content | |
| 765 | + set_web_content(_session, "HK_SHOW_APPS"); | |
| 766 | + | |
| 767 | + //Set control panel to nothing | |
| 768 | + replace_String(_session.fields, "AWS_CP.APP", get_web_app(_session)); | |
| 769 | + replace_String(_session.fields, "AWS_CP.SPACE", "HK"); | |
| 770 | + replace_String(_session.fields, "AWS_CP.NAME", "NO_PANEL"); | |
| 771 | + | |
| 760 | 772 | if show_apps_content( db, hk_db, _T, _session.language, web_site_directory) is |
| 761 | 773 | { |
| 762 | 774 | failure then | ... | ... |
src/web_controller/hayamiki_plugin.anubis