[FIX] according to spec, Array.prototype.sort is not defined as returning anything, Opera implements it strictly
bzr revid: xmo@openerp.com-20111128153941-xox35xedo9v2du2d
This commit is contained in:
parent
2b9c52ee8b
commit
38e1a8a660
|
@ -1029,7 +1029,8 @@ openerp.web.TranslationDataBase = openerp.web.Class.extend(/** @lends openerp.we
|
|||
set_bundle: function(translation_bundle) {
|
||||
var self = this;
|
||||
this.db = {};
|
||||
var modules = _.keys(translation_bundle.modules).sort();
|
||||
var modules = _.keys(translation_bundle.modules);
|
||||
modules.sort();
|
||||
if (_.include(modules, "web")) {
|
||||
modules = ["web"].concat(_.without(modules, "web"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue