Commit ac3aac38 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

wip(frontend): enforce disabled remove button

issue #468
parent be187300
......@@ -65,6 +65,7 @@
<i class="fa fa-window-close"></i>
</button>
<button type="button" class="btn btn-danger btn-sm {{node.action_remove}}"
ng-disabled="node.action_remove == 'disabled'"
ng-click="node_remove(node.id)"
title="<%=l 'Remove' %>">
<i class="fa fa-trash"></i>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment