bugfix
This commit is contained in:
parent
be1f1ebd1d
commit
cc2e090c96
@ -105,6 +105,6 @@ bricks.PopupForm = class extends bricks.BPopup {
|
|||||||
this.dismiss();
|
this.dismiss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bricks.Factory.register('BMessage', bricks.BMessage);
|
bricks.Factory.register('Message', bricks.BMessage);
|
||||||
bricks.Factory.register('BError', bricks.BError);
|
bricks.Factory.register('Error', bricks.BError);
|
||||||
bricks.Factory.register('PopupForm', bricks.PopupForm);
|
bricks.Factory.register('PopupForm', bricks.PopupForm);
|
||||||
|
@ -44,7 +44,7 @@ bricks.Modal = class extends bricks.Layout {
|
|||||||
var e = document.createElement('div');
|
var e = document.createElement('div');
|
||||||
e.style.display = "none"; /* Hidden by default */
|
e.style.display = "none"; /* Hidden by default */
|
||||||
e.style.position = "fixed"; /* Stay in place */
|
e.style.position = "fixed"; /* Stay in place */
|
||||||
e.style.zIndex = objget(this.opts, 'org_index', 0) + 1; /* Sit on top */
|
e.style.zIndex = objget(this.opts, 'org_index', 0) + 5000; /* Sit on top */
|
||||||
e.style.paddingTop = "100px"; /* Location of the box */
|
e.style.paddingTop = "100px"; /* Location of the box */
|
||||||
e.style.left = 0;
|
e.style.left = 0;
|
||||||
e.style.top = 0;
|
e.style.top = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user