Fix delete warning message #1051

- Include the number of tabs that will be closed when container is deleted
- Insert the warning message to the `span` tag that was originally there
This commit is contained in:
mingchia-andy-liu
2018-04-29 14:40:42 +08:00
committed by Jonathan Kingston
parent cb7ac6ca5e
commit 66a9116524
3 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -204,7 +204,7 @@
</div>
<div class="panel-content delete-container-confirm">
<h4 class="delete-container-confirm-title">Remove This Container</h4>
<p>If you remove this container now, <span id="delete-container-tab-count"></span> container tabs will be closed. Are you sure you want to remove this Container?</p>
<p><span id="delete-container-tab-warning"></span> Are you sure you want to remove this Container?</p>
</div>
<div class="panel-footer">
<a href="#" class="button expanded secondary footer-button cancel-button" id="delete-container-cancel-link">Cancel</a>