From 2e49324ede1a782f62d143342fc68f49d8a69d45 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 12 Jun 2012 21:20:31 +0200 Subject: [PATCH] load theme json with Ox.VERSION too --- source/Ox.UI/Ox.UI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 710a03be..29040e22 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -214,7 +214,7 @@ Ox.load.UI = function(options, callback) { var dfd = new $.Deferred(); promises.push(dfd.promise()); if (/\.json$/.test(file)) { - Ox.getJSON(Ox.PATH + file, function(data) { + Ox.getJSON(Ox.PATH + file + '?' + Ox.VERSION, function(data) { var theme = /\/(\w+)\.json$/.exec(file)[1]; themes[theme] = data; dfd.resolve();