aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/modal.js
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23rewrite modal unit testsJohann-S1-816/+0
2019-04-15fix unit tests for chrome mobileJohann-S1-1/+1
2019-03-18Add back support for IE 11Johann-S1-7/+18
2019-03-11Comply to the new rules.XhmikosR1-6/+7
2019-02-27tests: add tests for plugins version. (#28366)XhmikosR1-0/+5
2019-02-26move util in a util folder with the sanitizerJohann-S1-4/+1
2019-02-20minor jQuery.hasclass removal (#28158)Joshua Wilson1-48/+75
2019-02-20chore(update): bump to 4.1.3Johann-S1-67/+18
2019-02-20fix(manipulator): increase coverage for manipulatorJohann-S1-3/+3
2019-02-20fix unit test modalJohann-S1-1/+1
2019-02-20Rewritten modal without jquery (#23955)Alessandro Chitolina1-20/+29
* Trigger jquery events if available in event handler * Rewritten modal without jquery
2019-02-06fix modal test to be sure we call getTransitionDurationFromElementJohann-S1-10/+5
2019-01-20Scrollable modal (#27769)Shohei Yoshida1-0/+27
2018-12-23getSelectorFromElement return null on bad selectors (#27912)Johann-S1-24/+21
2018-12-05Add aria-modal to modals (#27780)Patrick H. Lauke1-0/+17
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden
2018-11-25Add test to make sure we enforce focus on modal (#27723)Johann-S1-0/+41
2018-10-30fix dispose modal unit testJohann-S1-3/+8
2018-10-30test(Modal): check if modal is disposedAndrew Luca1-0/+33
2018-10-28calculate modal transition duration based on modal-dialog elementJohann-S1-0/+46
2018-10-21test(Modal): reuse _getScrollbarWidth in testsAndrew Luca1-8/+1
2018-09-13throw error when folks try to use a bad selectorJohann-S1-21/+25
2018-07-11fix(modal): fix unit test and resetting styleJohann-S1-1/+2
2018-07-11fix(modal): removes .navbar-toggler marginCatalin Zalog1-42/+0
2018-05-22chore(deps): update qunit and karma-qunitJohann-S1-0/+1
2018-01-11Comply to the new rules.XhmikosR1-8/+11
2017-11-23Allow us to run our unit test on differents jquery versionJohann-S1-0/+2
2017-10-04Update modal.jsXhmikosR1-1/+4
2017-10-04Unit test for modal bug fixlucascono1-0/+13
Unit test for pull request #24240
2017-09-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S1-1/+27
2017-08-29Add failing testDavid Bailey1-0/+14
2017-08-29Fix unit tests in PhantomJSDavid Bailey1-3/+10
Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test. One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
2017-08-28Add failing testDavid Bailey1-0/+19
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-25Add unit test for xss in data target attributemeeque1-0/+36
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey1-0/+42
* Adjust margin for sticky elements on modal Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661. * Add unit tests for margin of sticky elements on modal
2017-08-23Tweak ESLint rules.XhmikosR1-4/+4
2017-04-03Fix #22332: Adjust tests for hidden scrollbarIlias1-3/+15
2017-04-02Fix #18373: properly adjust padding-right of body and fixed elements when ↵Ilias1-28/+95
opening or closing modal
2017-01-02update seletors in jsMark Otto1-4/+4
2016-11-26Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into ↵Mark Otto1-0/+22
maxbeatty-v4-dev-18796
2016-11-25Add test unit to check logic of ignoreBackdropClick (#18245)Johann1-0/+13
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-2/+2
2016-10-28Merge pull request #17536 from Johann-S/testPaddingMark Otto1-0/+38
[Fix #17400] Add tests about padding restoration
2016-08-04prevent navigating to area href when modal target. fixes #18796Max Beatty1-0/+22
2016-05-11Handle aria-hidden on modal container when showing/hidingPatrick H. Lauke1-0/+17
Fixes #19878
2015-12-22js/tests/unit/modal.js: Fix typoChris Rebert1-1/+1
[ci skip]
2015-10-02Add throw error for undefined method on pluginsJohann-S1-0/+12
2015-09-10Add tests about padding restorationJohann-S1-0/+38
2015-05-10add getters for Version and Default where applicablefat1-1/+1
add modal my gawd
2015-05-06remove closureness from pluginsfat1-75/+174
2015-02-11bootstrap onto closurefat1-1/+1