allow switch from any to image/video
[fnpeditor.git] / src / editor / views / dialog / dialog.html
index 1576831..3e1463e 100644 (file)
@@ -1,6 +1,6 @@
-<div class="rng-dialog modal hide static">
+<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">