Edgewall Software

Ticket #2647: fix-separator-ticket-2647-r8661.patch

File fix-separator-ticket-2647-r8661.patch, 633 bytes (added by ebray, 3 years ago)

Patch to update the JS to support the new clause separator.

  • trac/htdocs/js/query.js

     
    229229      tbody = tbody.parents("tbody").eq(0); 
    230230      var copy = tbody.clone(true); 
    231231      $(button).closest("td").next().attr("colSpan", 4).end().remove(); 
    232       $("td.trac-clause-sep", copy).parent().removeAttr("style"); 
     232      $("tr:first", copy).removeAttr("style"); 
    233233      $("tr tbody:not(:last)", copy).remove(); 
    234234      var newId = "add_filter_" + clauseNum; 
    235235      $("select", copy).attr("id", newId).attr("name", newId)