diff --git a/ietf/templates/doc/search/search_result_row.html b/ietf/templates/doc/search/search_result_row.html
index f03ecfe3e..e0eb794a8 100644
--- a/ietf/templates/doc/search/search_result_row.html
+++ b/ietf/templates/doc/search/search_result_row.html
@@ -15,11 +15,11 @@
{% if user.is_authenticated %}
{% if doc.name in doc_is_tracked %}
{% else %}
{% endif %}
{% endif %}
diff --git a/ietf/templates/doc/search/search_results.html b/ietf/templates/doc/search/search_results.html
index 9b0b8ffa1..10ca2759f 100644
--- a/ietf/templates/doc/search/search_results.html
+++ b/ietf/templates/doc/search/search_results.html
@@ -16,11 +16,7 @@
-
- {% if show_add_to_list and user.is_authenticated %}
-
- {% endif %}
- |
+ |
{% for h in meta.headers %}
{% if h.title != "Title" %}
diff --git a/ietf/templates/iesg/agenda_documents.html b/ietf/templates/iesg/agenda_documents.html
index 23da5b85c..75ae473a4 100644
--- a/ietf/templates/iesg/agenda_documents.html
+++ b/ietf/templates/iesg/agenda_documents.html
@@ -45,12 +45,7 @@
-
- {% if show_add_to_list and user.is_authenticated %}
-
- {% endif %}
- |
-
+ |
Document |
Date |
Status |
diff --git a/static/js/ietf.js b/static/js/ietf.js
index 6e8583a7d..b40e1a24f 100644
--- a/static/js/ietf.js
+++ b/static/js/ietf.js
@@ -110,10 +110,14 @@ $(document).ready(function () {
dataType: 'json',
success: function(response){
if (response.success) {
- trigger.parent().find(".tooltip").remove();
- // it would be neater to swap in remove link
- trigger.replaceWith('');
+ trigger.parent().find(".tooltip").remove();
+ trigger.find("span.fa").toggleClass("fa-bookmark fa-bookmark-o");
+ if (trigger.hasClass('btn')) {
+ trigger.attr('disabled', true).blur();
+ } else {
+ trigger.contents().unwrap().blur();
}
+ }
}
});
});