mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-04 19:54:29 +02:00
Leave title for levels dialog
This commit is contained in:
parent
01729706d0
commit
59b579b821
2 changed files with 10 additions and 4 deletions
|
@ -309,7 +309,7 @@ var ModalTerminal = ContainedBase.extend({
|
||||||
|
|
||||||
this.container = new ModalView();
|
this.container = new ModalView();
|
||||||
this.JSON = {
|
this.JSON = {
|
||||||
title: options.title || 'Heed This Warning!'
|
title: options.title
|
||||||
};
|
};
|
||||||
|
|
||||||
this.render();
|
this.render();
|
||||||
|
@ -344,9 +344,7 @@ var ModalAlert = ContainedBase.extend({
|
||||||
this.JSON.markdown = options.markdowns.join('\n');
|
this.JSON.markdown = options.markdowns.join('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.container = new ModalTerminal({
|
this.container = new ModalTerminal({});
|
||||||
title: ''
|
|
||||||
});
|
|
||||||
this.render();
|
this.render();
|
||||||
|
|
||||||
if (!options.wait) {
|
if (!options.wait) {
|
||||||
|
|
|
@ -183,6 +183,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<% if (title) { %>
|
||||||
|
<div>
|
||||||
|
<i class="icon-cog"></i>
|
||||||
|
<span class="modal-title">
|
||||||
|
<%= title %>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="inside">
|
<div class="inside">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue