[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
This commit is contained in:
niv-openerp 2013-11-06 15:36:02 +01:00
parent 419c5e0c67
commit 1feb385700
1 changed files with 1 additions and 1 deletions

View File

@ -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;