forked from extern/egroupware
Disable context menu on topmenu items
This commit is contained in:
parent
f7a5709027
commit
821f7cf562
@ -124,6 +124,7 @@
|
||||
window.framework = new fw_pixelegg("egw_fw_sidemenu", "egw_fw_tabs",
|
||||
window.egw_webserverUrl, egw_setSideboxSize,"egw_fw_splitter", 255, 245); // should be identical to jdots_framework::(DEFAULT|MIN)_SIDEBAR_WIDTH
|
||||
window.callManual = window.framework.callManual;
|
||||
jQuery("#egw_fw_topmenu_info_items").on("contextmenu",function() {return false;});
|
||||
jQuery('#topmenu_info_user_avatar').click(function(){window.framework.toggle_avatar_menu();});
|
||||
jQuery('#topmenu_info_print_title').click(function(){window.framework.print();});
|
||||
jQuery('#topmenu_info_logout').click(function(){ window.framework.redirect(this.getAttribute('data-logout-url')); });
|
||||
|
Loading…
Reference in New Issue
Block a user