farm_twitter_bootstrap 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
module FarmTwitterBootstrap
|
2
2
|
|
3
3
|
def tb_modal(header_text, footer_content = '', &content)
|
4
|
-
html = "<div id='tb_modal' class='modal fade'
|
4
|
+
html = "<div id='tb_modal' class='modal fade' aria-hidden='true' data-keyboard='true'>"
|
5
5
|
html += "<script type='text/javascript'>"
|
6
6
|
html += "$('#tb_modal').on('hidden', function(){ $('#tb_modal').detach(); })"
|
7
7
|
html += '</script>'
|