From 6754d72a93bed5607a7afd56fcc60fc99fce71cc Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 19 Dec 2013 14:46:01 +0100 Subject: [PATCH] [FIX] webclient reference bzr revid: fme@openerp.com-20131219134601-9lgi8d3x7e02umoq --- 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 f87e662dd90..90d13f0a67e 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -659,7 +659,7 @@ instance.web.Login = instance.web.Widget.extend({ this._super(parent); this.has_local_storage = typeof(localStorage) != 'undefined'; this.db_list = null; - this.selected_db = this.client_options.dbname || null; + this.selected_db = instance.webclient.client_options.dbname || null; this.selected_login = null; this.params = action.params || {}; if (_.isEmpty(this.params)) {