update annotation

This commit is contained in:
j 2011-06-15 16:36:42 +02:00
parent f1de4fae02
commit 6e287e5110

View file

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