Skip to content

Conversation

@akashshrimali
Copy link

function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
if($(this._element).hasClass("bootstrap-dialog"))
{
var element=this._element.get(0);
this._element=element;
}

this._dialog = $$$1(element).find(Selector.DIALOG)[0];
this._backdrop = null;
this._isShown = false;
this._isBodyOverflowing = false;
this._ignoreBackdropClick = false;
this._scrollbarWidth = 0;
} // Getters

nakupanda and others added 30 commits June 25, 2015 10:07
BootstrapDialogModal.ORIGINAL_BODY_PADDING's value may be "0 px",so it's should add parseInt function
fixed ORIGINAL_BODY_PADDING's value type bug
The way to judge whether in CommonJs style can not distinguish real
CommonJs from electron, will case BootstrapDialog object set to
window.module.exports.
Same problem may occur in node webkit,but I do not test this situation.
Allow to initialize the buttons in disabled state
Author: codepiano <codepiano.li@gmail.com>
Date:   Thu Nov 5 23:07:50 2015 +0800

    Add code to distinguish cmd and electron envirmonment

    The way to judge whether in CommonJs style can not distinguish real
    CommonJs from electron, will case BootstrapDialog object set to
    window.module.exports.
    Same problem may occur in node webkit,but I do not test this situation.
Add code to distinguish cmd and electron envirmonment
nakupanda and others added 29 commits June 21, 2016 09:13
Add the license to the bower.json file. This is needed by some tools (e.g. http://www.webjars.org/bower).
Merging without a doubt!

Thank you.
Hotkey option added for confirmation dialog and alert.
add Accessiblility on the close button
…tributes

Add support for data attributes on buttons
Add Examples of data attributes on buttons
Fix double submit when ok button is focused (#333)
@akashshrimali
Copy link
Author

Good Work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.