From 1feb3857001d586e3de19c17fbd592fcc40270a9 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Wed, 6 Nov 2013 15:36:02 +0100 Subject: [PATCH] [FIX] Changed the url redirect from / to /web in the db selector. It was not working correctly if the / url redirects on something else than the web admin. bzr revid: nicolas.vanhoren@openerp.com-20131106143602-gwyn4jjvn5zwztif --- addons/web/static/src/js/chrome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 400ea0da1da..f019972fd14 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -724,7 +724,7 @@ instance.web.Login = instance.web.Widget.extend({ params.db = db; this.$('.oe_login_dbpane').empty().text(_t('Loading...')); this.$('[name=login], [name=password]').prop('readonly', true); - instance.web.redirect('/?' + $.param(params)); + instance.web.redirect('/web?' + $.param(params)); }, on_db_loaded: function (result) { var self = this;