mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-05 07:44:06 +01:00
+1
-1
@@ -50,7 +50,7 @@
|
||||
this.$element.append(nbox);
|
||||
if (timer != undefined) {
|
||||
window.setTimeout(function() {
|
||||
$('.alert').alert('close');
|
||||
nbox.alert('close');
|
||||
}, timer);
|
||||
}
|
||||
return this;
|
||||
|
||||
+4
-1
@@ -40,7 +40,10 @@ function modalbox(e, css, defhref, defcb) {
|
||||
}
|
||||
|
||||
function modalbox_autowidth(e) {
|
||||
modalbox.apply(this, [e, {width: 'auto'}]);
|
||||
modalbox.apply(this, [e, {
|
||||
width: 'auto',
|
||||
'margin-left': function() { return -($(this).width() / 2); }
|
||||
}]);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user