forked from Public/pics
Remove leftover debug statements.
This commit is contained in:
parent
42e5c7fe37
commit
8ec6c227d5
@ -158,8 +158,6 @@ TagAutoSuggest.prototype.fillContainer = function(response) {
|
||||
var self = this;
|
||||
node.addEventListener('click', function(event) {
|
||||
self.createNewTag(function(response) {
|
||||
console.log('Nieuwe tag!!');
|
||||
console.log(response);
|
||||
self.appendCallback(response);
|
||||
});
|
||||
self.closeContainer();
|
||||
|
@ -176,9 +176,6 @@ class PhotoPage extends SubTemplate
|
||||
setTimeout(function() {
|
||||
var removeTag = function(event) {
|
||||
event.preventDefault();
|
||||
console.log(this);
|
||||
console.log("Supposed to remove tag " + this.dataset["id"]);
|
||||
|
||||
var that = this;
|
||||
var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '",
|
||||
"id_tag=" + this.dataset["id"] + "&delete", function(response) {
|
||||
|
Loading…
Reference in New Issue
Block a user