really update data[key]

This commit is contained in:
j 2013-02-26 05:36:07 +00:00
parent 8cbfff0ace
commit 9f5b94bd79

View file

@ -477,7 +477,7 @@ pandora.ui.infoView = function(data) {
} }
pandora.api.edit(edit, function(result) { pandora.api.edit(edit, function(result) {
var src; var src;
data[key] == result.data[key]; data[key] = result.data[key];
if (result.data.id != data.id) { if (result.data.id != data.id) {
Ox.Request.clearCache(); // fixme: too much Ox.Request.clearCache(); // fixme: too much
pandora.UI.set({item: result.data.id}); pandora.UI.set({item: result.data.id});