diff --git a/app/templates/domain.html b/app/templates/domain.html
index 8618733..f07e97b 100644
--- a/app/templates/domain.html
+++ b/app/templates/domain.html
@@ -24,12 +24,18 @@
Manage Records for {{ domain.name }}
+ {% if domain.type != 'Slave' %}
+ {% else %}
+
+ {% endif %}
@@ -219,7 +225,12 @@
nEditing = null;
nNew = false;
});
-
+
+ //handle update_from_master button
+ $(document).on("click", ".button_update_from_master", function (e) {
+ var domain = $(this).prop('id');
+ applyChanges({'domain': domain}, '/domain/' + domain + '/update');
+ });
{% endblock %}
{% block modals %}