update annotation

This commit is contained in:
j 2011-06-15 16:36:42 +02:00
parent 4fd1cbdc0f
commit 80f744b81a

View file

@ -178,8 +178,10 @@ pandora.ui.item = function() {
},
updateAnnotation: function(event, data) {
//fixme: check that edit was successfull
Ox.print('updateAnnotation', data);
pandora.api.editAnnotation(data);
pandora.api.editAnnotation(data, function(result) {
Ox.print('done updateAnnotation', result);
});
}
}));
that.bindEvent('resize', function(event, data) {