aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/modal.js
AgeCommit message (Collapse)AuthorFilesLines
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
2015-01-20tweak 'close reopened modal' unit test to work under new QUnit APIChris Rebert1-2/+7
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert1-42/+42
[skip validator]
2014-10-09fixes #13816 Modal dialog closes when dragging and releasing mouse button ↵fat1-2/+2
outside dialog
2014-07-30Revert "Use mousedown instead of click for backdrop click detection; fixes ↵Heinrich Fenkart1-2/+2
#13816"
2014-07-06Clean modal unit tests upHeinrich Fenkart1-84/+63
2014-07-06Merge pull request #13855 from hnrch02/modal-mousedownJacob1-2/+2
Use mousedown instead of click for backdrop click detection; fixes #13816
2014-07-01Only close modal if escape was hit with keydown; fixes #13929Heinrich Fenkart1-0/+38
2014-07-01Use mousedown instead of click for backdrop click detection; fixes #13816Heinrich Fenkart1-2/+2
2014-06-07Merge pull request #13388 from twbs/xhmikosr-js-styleXhmikosR1-2/+3
Improve JS style
2014-06-06Merge pull request #13627 from twbs/maybe-fix-12364Chris Rebert1-0/+51
Hopefully fixes trigger focus restoration on modal close
2014-06-06Comply to the new style.XhmikosR1-2/+3
2014-05-19Hopefully a fix for #12364Chris Rebert1-0/+51
* register the callback before invoking the toggling * listen for `hidden` instead of `hide` * account for the possibility of the associated `show` event being preventDefault-ed Adds relevant unit tests.
2014-05-19fix typo in assertion descriptionChris Rebert1-1/+1
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-23/+32
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-19quote attribute values in selectors in JS unit tests for consistencyChris Rebert1-2/+2
2014-04-03replace $.bind() with $.on() in unit tests; per #13272Chris Rebert1-5/+5
2014-02-14Re-indent test files.XhmikosR1-189/+189
2014-01-16new qunitfat1-4/+3
2013-12-08Use single quotes consistently.XhmikosR1-76/+76
2013-12-06Use a space after function consistently.XhmikosR1-7/+7
2013-08-17fixes #9362fat1-0/+19
2013-08-10fixes #9111Jacob Thornton1-140/+161
2013-07-17fix #7660fat1-0/+19
2013-05-22fixes #6898: typo in modal testMark Otto1-4/+4
2013-05-16change namespace back to dot notation and someother js shizzlefat1-13/+13
2013-05-16fix testsfat1-14/+14