forked from 0x2620/pandora
update annotation
This commit is contained in:
parent
4fd1cbdc0f
commit
80f744b81a
1 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue