Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from maxwellhealth/iframeModal
Browse files Browse the repository at this point in the history
iframeModal Title ability
  • Loading branch information
securingsincity committed Sep 11, 2015
2 parents a99b8ac + b8d7d09 commit 009d498
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/iframeModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ var Modal = require('./Modal');
module.exports = Modal.extend({
dismissable: false,
header: function(){
return headerTemplate();
return headerTemplate({
title: this.title
});
},
footer: function(){
return null;
Expand Down
1 change: 1 addition & 0 deletions src/templates/iframe-header.handlebars
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div class="modal-header">
<h3>{{title}}</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>

0 comments on commit 009d498

Please sign in to comment.