X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Rakka.git;a=blobdiff_plain;f=js%2FsystemConfig.js;h=05a3a5653808277341f7d1ba5d44e2689cdc77c6;hp=9dd7f9c280507c1da619c1693d4de43b66905f88;hb=5ab256be8bbbb1f4a012b41ac1cc3f9b29aa7d57;hpb=fa79b22a10d1036b41c9bd9c7b832af7286e8cd9 diff --git a/js/systemConfig.js b/js/systemConfig.js index 9dd7f9c..05a3a56 100644 --- a/js/systemConfig.js +++ b/js/systemConfig.js @@ -7,7 +7,7 @@ var mapDecoder = function (src) { var map = {}; var lines = src.split(/\n/); - + $.each(lines, function () { var m = this.match(/^(\S+)\s+(\S+)$/); @@ -36,10 +36,10 @@ if (cachedConf != null) { return cachedConf; } - + var conf = {}; cachedConf = conf; - + $.ajax({ type : "GET", url : Rakka.baseURI + "systemConfig", @@ -65,4 +65,11 @@ return conf; }; + $(document).ready(function () { + $("input.configButton") + .click(function () { + Rakka.showConfigPanel(); + }); + }); + })(); \ No newline at end of file