refactor(config) change

This commit is contained in:
coderaiser 2013-11-13 08:06:13 +00:00
parent 1bde7dcff0
commit 64c5f477ef

View file

@ -131,8 +131,10 @@ var CloudCmd, Util, DOM;
data = el.value;
obj[name] = data;
CONFIG[name] = data;
CloudCmd.setConfig(CONFIG);
CloudCmd.setConfig(CONFIG, function() {
CONFIG[name] = data;
});
DOM.RESTful.config(obj);
}