From 70daa5d7d54912b310cd3a3ac049a8aa23a9a29e Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 18 Mar 2015 17:11:39 +0000 Subject: [PATCH] Fix logout button redirect in mobile theme --- jdots/js/fw_mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdots/js/fw_mobile.js b/jdots/js/fw_mobile.js index 195bd41e86..160961c96e 100644 --- a/jdots/js/fw_mobile.js +++ b/jdots/js/fw_mobile.js @@ -888,7 +888,7 @@ window.egw_webserverUrl, egw_setSideboxSize, 300, 'egw_fw_basecontainer', 'egw_fw_menu'); window.callManual = window.framework.callManual; jQuery('#egw_fw_print').click(function(){window.framework.print();}); - jQuery('#egw_fw_logout').click(function(){ window.framework.redirect(this.getAttribute('data-logout-url')); }); + jQuery('#topmenu_logout').click(function(){ window.framework.redirect(this.getAttribute('href')); return false;}); jQuery('form[name^="tz_selection"]').children().on('change', function(){framework.tzSelection(this.value); return false;}); window.egw.link_quick_add('quick_add');