[web] Stop patching jquery.treeview.js
This logically reverts part of e9b7cd2e9012 "allow treeview to work
correctly in a tab #345293".
The treeview and ajax code have suffered a number of changes since then, this
change doesn't seem to be necessary anymore. It is most likely unneeded since
f65208c9dbdc "[javascript] use jQuery.one('ajax-loaded') instead of
jQuery.bind() in add_onload to avoid multiple callback executions".
--- 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);