When an error occurs in Create Template, the error message is being displayed on its
parent rather than the Create Template panel. This patch fixes that so the error
is now being displayed in the create template panel.
Signed-off-by: Socorro Stoppler <socorro(a)linux.vnet.ibm.com>
---
ui/pages/template-add.html.tmpl | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/pages/template-add.html.tmpl b/ui/pages/template-add.html.tmpl
index 670c7a2..2a8fdb7 100644
--- a/ui/pages/template-add.html.tmpl
+++ b/ui/pages/template-add.html.tmpl
@@ -29,6 +29,7 @@
</div>
<div class="modal-body">
<div class="template-modal-container">
+ <div id="alert-modal-container"></div>
</div>
<div class="template-pager">
<div class="page-list">
--
2.5.0