validate cover extension in metadata dialog
[fnpeditor.git] / src / editor / views / dialog / dialog.html
index 7499cd1..3e1463e 100644 (file)
@@ -1,6 +1,6 @@
 <div class="rng-dialog modal hide static <%= cssClass %>">
     <div class="modal-header">
-        <button type="button" class="close">&times;</button>
+        <% if(closeButton) { %><button type="button" class="close">&times;</button><% } %>
         <h1><%= title %></h1>
     </div>
     <div class="modal-body">