diff -r 9ae2cf79d167 -r 0446e07981db cms/app-client/app/controllers/application.js --- a/cms/app-client/app/controllers/application.js Thu Jun 23 17:22:57 2016 +0200 +++ b/cms/app-client/app/controllers/application.js Thu Jun 23 23:21:02 2016 +0200 @@ -71,6 +71,19 @@ this.set(key, newValue); }, + /*deleteTag: function(query, item) { + var newParams = null; + if (query === 'date'){ + newParams = []; + Ember.$.each(this.get('date'), function(index, elt){ + if (elt !== item){ + newParams.push(elt); + } + }); + } + this.set(query, newParams); + }*/ + changeDocument: function(docDirection){ var direction = (docDirection === "next") ? 1 : -1; var currentObject = this.get("filteredDocuments").findBy('id', this.get("currentItem").get('id'));