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;
|
var self = this;
|
||||||
node.addEventListener('click', function(event) {
|
node.addEventListener('click', function(event) {
|
||||||
self.createNewTag(function(response) {
|
self.createNewTag(function(response) {
|
||||||
console.log('Nieuwe tag!!');
|
|
||||||
console.log(response);
|
|
||||||
self.appendCallback(response);
|
self.appendCallback(response);
|
||||||
});
|
});
|
||||||
self.closeContainer();
|
self.closeContainer();
|
||||||
|
@ -176,9 +176,6 @@ class PhotoPage extends SubTemplate
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var removeTag = function(event) {
|
var removeTag = function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
console.log(this);
|
|
||||||
console.log("Supposed to remove tag " + this.dataset["id"]);
|
|
||||||
|
|
||||||
var that = this;
|
var that = this;
|
||||||
var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '",
|
var request = new HttpRequest("post", "', $this->photo->getPageUrl(), '",
|
||||||
"id_tag=" + this.dataset["id"] + "&delete", function(response) {
|
"id_tag=" + this.dataset["id"] + "&delete", function(response) {
|
||||||
|
Loading…
Reference in New Issue
Block a user