moving attack form to modal/overlay ... initial cut

This commit is contained in:
Jason White
2016-06-29 10:39:54 +02:00
parent f203f38702
commit a8ac2d7a0c
2 changed files with 8 additions and 3 deletions

View File

@@ -182,7 +182,12 @@ define(['jquery',
this.hideShowAttack = function (options) { // will likely expand this to encompass
if (options.show) {
$('div.attack-container').show();
$('div#attack-container').show();
$('div#attack-container div.modal-header button.close, #about-modal div.modal-footer button').unbind('click').on('click', function() {
$('div#attack-container').hide(200);
});
//this.lessonView.makeFormsAjax();
//this.lessonView.ajaxifyAttackHref();
}
};