mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
* Using 'icon-trash' to represent 'delete' actions (fixes #210)
* A simple click on a domain name opens the edit box (fixes #209) * No more creation and modification dates in the listing (fixes #211) * Fixed an issue with modal boxes
This commit is contained in:
+2
-2
@@ -19,7 +19,6 @@ function modalbox(e, css, defhref, defcb) {
|
||||
return;
|
||||
}
|
||||
var $div = $('<div id="modalbox" class="modal" >' + data + '</div>')
|
||||
.modal()
|
||||
.one('shown', function() {
|
||||
if (modalcb != undefined) {
|
||||
if (typeof modalcb === "function") {
|
||||
@@ -31,7 +30,8 @@ function modalbox(e, css, defhref, defcb) {
|
||||
})
|
||||
.on('hidden', function() {
|
||||
$("#modalbox").remove();
|
||||
});
|
||||
})
|
||||
.modal();
|
||||
|
||||
if (css != undefined) {
|
||||
$div.css(css);
|
||||
|
||||
Reference in New Issue
Block a user