aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/button.js
AgeCommit message (Collapse)AuthorFilesLines
2019-07-23rewrite button unit testsJohann-S1-225/+0
2019-03-11Comply to the new rules.XhmikosR1-1/+1
2019-02-27tests: add tests for plugins version. (#28366)XhmikosR1-7/+2
2019-02-20Remove IE support and button bsChecked hackAlessandro Chitolina1-3/+3
2019-02-20fix(event-handler): remove the use of our event handler in unit testJohann-S1-5/+6
2019-02-20fix(data): do not use data object in our unit testsJohann-S1-3/+5
2019-02-20remove old references to jquery and some fixesJohann-S1-3/+3
2019-02-20Rewritten modal without jquery (#23955)Alessandro Chitolina1-11/+11
* Trigger jquery events if available in event handler * Rewritten modal without jquery
2019-02-20Add Manipulator object to add shortcuts for dom manipulationsJohann-S1-3/+3
2019-02-20button without jqueryXhmikosR1-13/+18
2018-12-10Change button checkbox/radios to ignore hidden input fields (#27802)Mike Vastola1-0/+23
2018-05-22chore(deps): update qunit and karma-qunitJohann-S1-0/+1
2018-04-10v4 improve coverage (#25945)Johann-S1-0/+23
* Improve code coverage for our Button plugin * improve coverage for our Alert plugin * test tooltip update method * test update and dispose for dropdown * increase code coverage requirements
2018-01-11Comply to the new rules.XhmikosR1-27/+26
2017-11-07Fix test failure with jQuery 1.9.1 (#24706)XhmikosR1-1/+1
2017-08-23Tweak ESLint rules.XhmikosR1-1/+1
2017-04-26Fix Toggle buttons don't honor [disabled] or .disabledAnna1-0/+17
2017-04-10Only change aria-pressed if it's not an input-based radio or checkbox groupPatrick H. Lauke1-0/+18
* Only change aria-pressed if it's not an input-based radio or checkbox group aria-pressed="true"/aria-pressed="false" is really only useful for making on/off toggles out of, say, `<button>` elements. the attribute is useless (and potentially confusing/conflicting) on, say, `<label>` elements for an existing `<input type="radio">` or similar. * Add unit test for buttons.js and radio/checkbox inputs in button groups
2017-01-04Close #21090 - Fix aria-pressed attribute for buttons in container with ↵Johann-S1-0/+11
data-toggle='buttons'
2016-11-26Merge pull request #18900 from vlastikcz/v4-dev-buttonChangeMark Otto1-0/+20
Button toggling - trigger change event on input. Fixes #16673, fixes #17599.
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-1/+1
2016-01-14Button toggling - trigger change event on inputKotas Vlastimil1-0/+20
Bootstrap’s .button styles can be applied to other elements, such as labels, to provide checkbox or radio style button toggling. When the checkbox or radio state is changed, there should be triggered the change event. Currently, the change event is triggered on the Button, which is not correct. Only input fields do support the change event.
2015-05-07button -> es6fat1-58/+0
2015-05-06remove closureness from pluginsfat1-53/+107
2015-02-11bootstrap onto closurefat1-55/+0
2015-01-20update JS unit tests to future-proof QUnit 1.16.0 APIChris Rebert1-13/+13
[skip validator]
2014-10-29Merge pull request #14457 from hnrch02/button-set-val-after-event-loopHeinrich Fenkart1-5/+5
Change value of stateful button after event loop
2014-10-22Add `aria-pressed` to single toggle buttonsPatrick H. Lauke1-1/+19
also includes tiny fix/clarification to two existing unit tests for the .active class, adding data-toggle=“button” explicitly to the tested buttons Closes #14819.
2014-08-26Change value of stateful button after event loopHeinrich Fenkart1-5/+5
Fixes #14450
2014-07-06Move to leading plusesHeinrich Fenkart1-11/+11
2014-07-06Clean button unit tests upHeinrich Fenkart1-78/+78
2014-06-06Comply to the new style.XhmikosR1-7/+8
2014-05-05Allow for resetText of a button to be a falsey value; fixes #13466Heinrich Fenkart1-0/+20
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-12/+21
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-09JS: remove unused variables.XhmikosR1-1/+0
2014-02-14Re-indent test files.XhmikosR1-118/+118
2013-12-16Require comma on left sideZlatan Vasović1-5/+5
2013-12-08Use single quotes consistently.XhmikosR1-10/+10
2013-11-10Add unit test for #9920Nathan Muir1-0/+6
Merges #10385
2013-10-25QUnit.equals() is deprecated; use QUnit.equal() insteadChris Rebert1-5/+5
2013-07-26Replace Makefile with GruntJSJohn-Philip Johansson1-7/+8
A rebase (against soon-to-be 3.0.0-rc.1) & squash of https://github.com/twbs/bootstrap/pull/7786 AKA https://github.com/twitter/bootstrap/pull/7786 originally by @seriema @mokkabonna @jojohess Rebased by @cvrebert
2013-07-18cleaner way of preventing double click events + clean up tests for jshintfat1-12/+12
2013-07-18get button js working with actual form elements p coollfat1-10/+23
2013-05-16change namespace back to dot notation and someother js shizzlefat1-1/+1
2013-05-16a bunch javascript junkfat1-0/+102