Permalink
Browse files

Fixed issue #18

  • Loading branch information...
1 parent a3ffccf commit c85425cb7e351dd2673ca27cdb5c4950bbaffc62 @kracekumar kracekumar committed Dec 4, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 hgtv/templates/video.html
@@ -249,7 +249,7 @@
if (msg['action'] === 'append') {
$(".playlists").append(msg['html']);
} else if (msg['action'] === 'modal-window') {
- $(msg['html']).modal({show: true, keyboard: true}).bind('click keydown', function(event) {
+ $(msg['html']).modal({show: true, backdrop: true, static: true}).bind('click keydown', function(event) {
//code for on enter keypress & submit button
var modalWindow = $(this);
//e.which === 1 says button is clicked
@@ -278,9 +278,7 @@
toastr.error("something went wrong try later")
}
});
- } else {
- $(modalWindow).modal('hide');
- }
+ }
}
});
}

0 comments on commit c85425c

Please sign in to comment.