diff --git a/front-end/js/common.js b/front-end/js/common.js index 37564b9..884dcb5 100644 --- a/front-end/js/common.js +++ b/front-end/js/common.js @@ -12,7 +12,7 @@ var top_toolbar = { "value": "SFM", "icon": "wxi-dots", "submenu": [ - { "value": "Summary", "icon": "wxi-calendar" , "href": "summary.html"}, + { "value": "Summary", "icon": "wxi-calendar" , "href": "javascript:show_summary();"}, { "value": "Pending Jobs", "icon": "mdi mdi-notebook-check", "href": "pending_job.html" }, { "value": "Mass Mailing", "icon": "mdi mdi-email", "href": "mass_mailing.html" }, { "$template": "Separator" }, diff --git a/front-end/js/summary.js b/front-end/js/summary.js index 03570dd..c7769bc 100644 --- a/front-end/js/summary.js +++ b/front-end/js/summary.js @@ -64,3 +64,6 @@ webix.ready(function(){ initTopMenu($$('summary_layout'), $$('topMenu')); }); +function show_summary() { + alert("ok"); +} \ No newline at end of file