cms/app-client/app/controllers/application.js
changeset 202 0446e07981db
parent 200 a441c40f9c5e
child 203 2ee21302dc47
--- 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'));