mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Avoid popover hidding
This commit is contained in:
@@ -40,7 +40,9 @@ function modalbox(e, css, defhref, defcb, defclosecb) {
|
||||
}
|
||||
var $div = $('<div id="modalbox" class="modal" >' + data + '</div>')
|
||||
.one('shown', function() {
|
||||
$(".help").popover().click(function(e) {e.preventDefault();});
|
||||
$(".help").popover({
|
||||
container: "#modalbox"
|
||||
}).click(function(e) {e.preventDefault();});
|
||||
if (modalcb != undefined) {
|
||||
if (typeof modalcb === "function") modalcb(); else eval(modalcb + '()');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user