X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Rakka.git;a=blobdiff_plain;f=js%2FsystemConfig.js;h=9dd7f9c280507c1da619c1693d4de43b66905f88;hp=cb46670fd6fddccca272cac08bc60314fee020c5;hb=fb86cb6941e466fd43ce45338024c79d0fdb33a2;hpb=371a806dd929003a828dc2c9fb21acc377958b05 diff --git a/js/systemConfig.js b/js/systemConfig.js index cb46670..9dd7f9c 100644 --- a/js/systemConfig.js +++ b/js/systemConfig.js @@ -30,8 +30,15 @@ globalLock : boolDecoder }; + var cachedConf = null; + Rakka.getSystemConfig = function () { + if (cachedConf != null) { + return cachedConf; + } + var conf = {}; + cachedConf = conf; $.ajax({ type : "GET",