Leave title for levels dialog

This commit is contained in:
Peter Cottle 2015-11-30 10:25:16 -08:00
parent 01729706d0
commit 59b579b821
2 changed files with 10 additions and 4 deletions

View file

@ -309,7 +309,7 @@ var ModalTerminal = ContainedBase.extend({
this.container = new ModalView();
this.JSON = {
title: options.title || 'Heed This Warning!'
title: options.title
};
this.render();
@ -344,9 +344,7 @@ var ModalAlert = ContainedBase.extend({
this.JSON.markdown = options.markdowns.join('\n');
}
this.container = new ModalTerminal({
title: ''
});
this.container = new ModalTerminal({});
this.render();
if (!options.wait) {

View file

@ -183,6 +183,14 @@
</div>
</div>
</div>
<% if (title) { %>
<div>
<i class="icon-cog"></i>
<span class="modal-title">
<%= title %>
</span>
</div>
<% } %>
</div>
<div class="inside">