# HG changeset patch # User Julien Cristau # Date 1413981591 -7200 # Node ID e8889211f2563dbf0c05a5cef5d2533ce6c38a39 # Parent e62d2c73784ff35da4fdad5a1344676c66b0b1ac [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". diff -r e62d2c73784f -r e8889211f256 web/data/jquery.treeview.js --- 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);