Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 97de4ad

Browse files
committed
Use prefix for refresh link name
To avoid conflict with another link. References rabbitmq/rabbitmq-shovel-management#35
1 parent 751fbdd commit 97de4ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

priv/www/js/federation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dispatcher_add(function(sammy) {
2929
go_to('#/federation-upstreams');
3030
return false;
3131
});
32-
sammy.del("#/restart-link", function(){
32+
sammy.del("#/federation-restart-link", function(){
3333
if(sync_delete(this, '/federation-links/vhost/:vhost/:id/:node/restart')){
3434
update();
3535
}

priv/www/js/tmpl/federation.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<td><%= link.id %></td>
8585
<td><%= link.consumer_tag %></td>
8686
<td>
87-
<form action="#/restart-link" method="delete" class="confirm">
87+
<form action="#/federation-restart-link" method="delete" class="confirm">
8888
<input type="hidden" name="id" value="<%= link.id %>"/>
8989
<input type="hidden" name="node" value="<%= link.node %>"/>
9090
<input type="hidden" name="vhost" value="<%= link.vhost %>"/>

0 commit comments

Comments
 (0)