--- a/src/widgets/AnnotationsList.js Fri Sep 18 14:48:13 2015 +0200
+++ b/src/widgets/AnnotationsList.js Fri Sep 18 15:04:39 2015 +0200
@@ -113,7 +113,6 @@
url: _url,
type: "GET",
success: function(_data) {
- console.log(_data)
_this.source.users_data = _data.objects
},
error: function(_xhr, _error, _thrown) {
@@ -582,7 +581,6 @@
IriSP.Widgets.AnnotationsList.prototype.onDeleteClick = function(event){
ann_id = event.target.id;
- console.log(ann_id)
delete_preview_$ = this.$.find(".Ldt-AnnotationsList-ul-ToDelete");
delete_preview_$.html("");
_list = this.getWidgetAnnotations()
@@ -592,7 +590,6 @@
var _annotation = _list[0],
_title = "",
_this = this;
- console.log(_annotation)
if (_annotation.creator) {
var _users = _this.source.users_data.filter(function(_user_data){
return _user_data.username == _annotation.creator
@@ -686,7 +683,6 @@
}
IriSP.Widgets.AnnotationsList.prototype.sendDelete = function(id){
- console.log("deleting "+id)
var _this = this,
_url = Mustache.to_html(this.api_delete_endpoint, {annotation_id: id})