From: samhenri <samuel.guimaraes(a)eldorado.org.br>
Signed-off-by: samhenri <samuel.guimaraes(a)eldorado.org.br>
---
ui/js/src/wok.window.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ui/js/src/wok.window.js b/ui/js/src/wok.window.js
index d50fc6d..4edf25e 100644
--- a/ui/js/src/wok.window.js
+++ b/ui/js/src/wok.window.js
@@ -38,6 +38,11 @@ wok.window = (function() {
_listeners[windowID] = settings['close'];
var windowNode = $('<div id="' + windowID + '"
class="modal-dialog"></div>');
+ $('#' + target).modal({
+ backdrop: 'static',
+ keyboard: false
+ });
+
$('#' + target).modal('show');
$('#' + target).on('hidden.bs.modal', function() {
--
1.9.3