diff --git a/index.html b/index.html index bac744510c..01ce1e24eb 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,7 @@ this repository contains the full copyright notices and license terms. --> - + Tryton diff --git a/src/sao.js b/src/sao.js index f84422d784..7a1f375de7 100644 --- a/src/sao.js +++ b/src/sao.js @@ -594,7 +594,10 @@ var Sao = {}; jQuery('#user-preferences').append(jQuery('', { 'href': '#', 'title': preferences.status_bar, - }).click(Sao.preferences).append(preferences.status_bar)); + }).click(function(evt) { + evt.preventDefault(); + Sao.preferences(); + }).append(preferences.status_bar)); var title = Sao.i18n.gettext("Logout"); jQuery('#user-logout').append(jQuery('', { 'href': '#',