fix widget cache bug
This commit is contained in:
parent
eb7a35a9ea
commit
27c8d157dd
3 changed files with 6 additions and 11 deletions
|
|
@ -105,21 +105,16 @@ KIRI.work = {
|
|||
},
|
||||
|
||||
config: function(obj) {
|
||||
send("config", obj, function(reply) {
|
||||
// console.log({config:reply});
|
||||
});
|
||||
send("config", obj, function(reply) { });
|
||||
},
|
||||
|
||||
clear: function(widget) {
|
||||
send("clear", widget ? {id:widget.id} : {}, function(reply) {
|
||||
syncd = {};
|
||||
});
|
||||
syncd = {};
|
||||
send("clear", widget ? {id:widget.id} : {}, function(reply) { });
|
||||
},
|
||||
|
||||
snap: function(data) {
|
||||
send("snap", data, function(reply) {
|
||||
// console.log({snap:reply})
|
||||
});
|
||||
send("snap", data, function(reply) { });
|
||||
},
|
||||
|
||||
// widget sync
|
||||
|
|
|
|||
Loading…
Reference in a new issue