[FIX] web: avoid crash when the Home client action is called without `action` param
authorOlivier Dony <odo@openerp.com>
Tue, 7 Jan 2014 16:11:54 +0000 (17:11 +0100)
committerOlivier Dony <odo@openerp.com>
Tue, 7 Jan 2014 16:11:54 +0000 (17:11 +0100)
commit1bb2fccb9d92e76e8a0f1c99ebbd27cb30618444
tree3de5d572ffdb2abcf521bff587a44af0fa7114d7
parentb2fa77fd310e98a79caf2f0689e1a64d7c37c702
[FIX] web: avoid crash when the Home client action is called without `action` param

E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.

bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe
addons/web/static/src/js/chrome.js