web/data/jquery.treeview.js
changeset 10098 e8889211f256
parent 10097 e62d2c73784f
--- a/web/data/jquery.treeview.js	Wed Oct 22 14:28:01 2014 +0200
+++ b/web/data/jquery.treeview.js	Wed Oct 22 14:39:51 2014 +0200
@@ -76,10 +76,6 @@
             this.find("div." + CLASSES.hitarea).click(toggler);
         },
         treeview: function(settings) {
-            if (this.attr("cubicweb:type") == "prepared-treeview") {
-                return this;
-            }
-            this.attr("cubicweb:type", "prepared-treeview");
             settings = $.extend({
                 cookieId: "treeview"
             }, settings);