[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:
parent
419c5e0c67
commit
1feb385700
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue