anchor.diff:      </div>
       <div class="nav-buttons">
         <ul>
  -        <c:if test="${isShowFavoriteTagButton}">
  -          <li>
  -            <c:url var="tagFavUrl" value="/user-filter">
  -              <c:param name="newFavoriteTagName" value="${topicListRequest.tag}"/>
  -            </c:url>
  -
  -            <a id="tagFavAdd" href="${tagFavUrl}">В избранные теги</a>
  -          </li>
  -        </c:if>
  -        <c:if test="${isShowUnFavoriteTagButton}">
  -          <li>
  -            <c:url var="tagFavUrl" value="/user-filter"/>
  -
  -            <a id="tagFavAdd" href="${tagFavUrl}">Удалить из избранного</a>
  -          </li>
  -        </c:if>
           <c:if test="${isShowIgnoreTagButton}">
             <li>
             <c:url var="tagIgnUrl" value="/user-filter">
  
positive.code:       if (t.error) {
          alert(t.error);
        } else {
          $(event.target).unbind("click");
          text = $(event.target).text();
          $(event.target).text(newText);
          $(event.target).bind("click", function(event) {
            tag_filter(url, event, text, !add);
          });
        }
      });
    }
  
    $(document).ready(function() {
      addFav = function(event) {
        <c:if test="${isShowFavoriteTagButton}">
          tag_filter("/user-filter/favorite-tag", event, "Удалить из избранного", true );
        </c:if>
        <c:if test="${not isShowFavoriteTagButton}">
          tag_filter("/user-filter/favorite-tag", event, "В избранные теги", false );
        </c:if>
      };
  
      addIgn = function(event) {
        <c:if test="${isShowIgnoreTagButton}">
          tag_filter("/user-filter/ignore-tag", event, "Не игнорировать тег", true);
        </c:if>
        <c:if test="${isShowUnIgnoreTagButton}">
          tag_filter("/user-filter/ignore-tag", event, "Игнорировать тег", false);
        </c:if>
      };
  
      $("#tagFavAdd").bind("click", addFav);
      $("#tagIgnAdd").bind("click", addIgn);
    });
  </script>
  
  
negative.code:     data['csrf'] = "${fn:escapeXml(csrfToken)}";
  
      $.ajax({
        url: "/user-filter/favorite-tag",
        type: "POST",
        dataType: "json",
        data: data
  