Don't offer to delete this node (fixes #144)

This commit is contained in:
Jakob Borg
2014-04-22 12:01:09 +02:00
parent d53b193e09
commit aa78fbb09d
3 changed files with 5 additions and 3 deletions

View File

@@ -382,7 +382,7 @@
<div class="modal-footer">
<button type="button" class="btn btn-primary" ng-click="saveNode()">Save</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button ng-if="editingExisting" type="button" class="btn btn-danger pull-left" ng-click="deleteNode()">Delete</button>
<button ng-if="editingExisting && !editingSelf" type="button" class="btn btn-danger pull-left" ng-click="deleteNode()">Delete</button>
</div>
</div>
</div>