update annotation

This commit is contained in:
j 2011-06-15 16:36:42 +02:00
parent f1de4fae02
commit 6e287e5110
1 changed files with 4 additions and 2 deletions

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) {