X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.I18n.js;h=7af491cdc8ff012ab3fd77991192330191e9fcd4;hb=6f4c2d6f80256876f51cc71ae3f207a16c476866;hp=82409f1b0635840d47518d6cc9045191b4669f7e;hpb=f160f63bf6a49199370854ae0e6d6807bb1a7b10;p=Pman.Core diff --git a/Pman.I18n.js b/Pman.I18n.js index 82409f1b..7af491cd 100644 --- a/Pman.I18n.js +++ b/Pman.I18n.js @@ -169,8 +169,8 @@ Pman.I18n = { }); ret = ret.sort(function(a,b) { - if (a[0] == '**') return 1; // other always at end.. - if (b[0] == '**') return -1; // other always at end.. + if (a[0] == '**') { return 1; } // other always at end.. + if (b[0] == '**') { return -1; } // other always at end.. return a[1] > b[1] ? 1 : -1; }); @@ -211,9 +211,7 @@ Pman.I18n = { reader: Pman.I18n.reader, listeners : { - loadexception : Pman.loadException - }, remoteSort: false, sortInfo: {