jQuery Mobile 1.1.2 Changelog

link Button

  • 1.1 RC2 & 1.1 stable: Select buttons are not full or 60% width in header ui-bar. (#3983, 3bc0656)

    • Changed display inline-block rule to only be applied to buttons that are direct children of the header/footer.
  • Addresses issue #4540; an alternate approach to af46c6c40725f15b6d3502449df357815b39940d (dcb2f22)

  • Input submit lacks 100% width when placed in fieldcontain with .ui-hide-label on wider screens. (#4705, f1e4f5a)

    • Button: Submit buttons should be full width when label is hidden. Fixes #4705 - Input submit lacks 100% width when placed in fieldcontain with .ui-hide-label on wider screens.
  • Only set margin left/right for buttons that are immediate children. To avoid those margins override margins of buttons that are part of other widgets. (eede55d)

  • Controlgroup: Horizontal controlgroup shouldn't have margins in header. (#4713, 4754690)

    • Button: override default margin if controlgroups or form elements have class ui-btn-left/right. Fixes #4713 - Controlgroup: Horizontal controlgroup shouldn't have margins in header.
  • Reverting changes of commit c71642b because it has downsides (select and checkbox/radio buttons don't get margin because they are wrapped in a div). (8cc2c4c)

link Checkboxradio

  • Request: mini-Option in checkboxradio & textinput (#4070, 7f6c0ac)
    • Checkboxradio: Allow to set option mini programmatically. Fixes #4070.

link Collapsible

  • Collapsible iconpos via mobileinit differs from documentation. Fixes #4899 cherry picked from commit 8756bd2d2b49c0ba4881e57d3c8282f3153a81c1 (#4899, 51e3c17)

  • Fixed corner styling of legends as heading in a collapsible set. 6d6c4bb)

  • Made non-inset listviews exactly fit inside ui-collapsible-content. f4c07c4)

link Controlgroup

  • Calling controlgroup constructor causes fieldset width to shrink. Controlgroup: Prevent the controls from being wrapped multiple times. Fixes #4716 (#4716, 4bf78fd)

    • Calling controlgroup constructor causes fieldset width to shrink.
  • Horizontal alignment bug with jQuery mobile 1.1.1. (#4765, 74a4378)

    • Controlgroup: keep the possibility to center the controls with vertical-align property. Fixes #4765 - Horizontal alignment bug with jQuery mobile 1.1.1
  • Vertical-align middle to prevent the small bottom margin that some browsers add because of display inline-block. (de24d41)

link Dialog

  • Close button in dialogs does not work on Android using phone gap and JQM 1.1.1 or 1.2.0. (#4950, c3b89eb)

    • substract backward movement in history, Fixes #4950
  • Rewrote CSS (same styling, better construction). Also prevents additional margin-top, just when screen height is little. (40d970b)

  • The rules for dialog sections should only apply to immediate children. Additional fix for #4699: when using the Download Builder the CSS could be reordered which eliminates the override. (d906940)

  • When hash listening is disabled and going to the previous page during close, correctly construct the URL for the previous page from the urlHistory entry and indicate that changePage is to go back in urlHistory rather than adding a new entry (66f37f6)

link Fixed Toolbars

  • iOS 6 fullscreen: page can be panned left and right (wider than the screen?) (#5155, dfb6083)

    • Fixed toolbars: higher specifity for border left and right 0 rule. Fixes #5155
  • Merge pull request #5262 from arschmitz/issue-5261 (0e3c523)

link Listview

  • Items filtered from listview missing a border Listview: Added a class to set border-bottom on the last LI. This fixes missing border on filtered lists and on browsers that don't support :last-child. Fixes #4614 - Items filtered from listview missing a border. (#4614, 75a3635)

  • Changed variables to please the linter. (88e45be)

  • Code improvement and coding standards. (8b691bc)

  • Correction in a function I added to make it actually work. (a419b95)

  • Fixes read-only list numbering on browsers that don't support CSS pseudo classes. Classes are not applied yet so we can't check with .is(). (82d0eaf)

  • Improved border styling of listview inside collapsible content. (e364c61)

  • Improved rules for adjusted border styling of non-inset listviews inside collapsible content. (5a47edc)

  • Listview option filter can't be set programmatically. (#5245, 5b537ca)

    • Listview: make it possible to set option filter programmatically. Fixes #5245.
  • Ordered list ignores "start" attribute (#4613, aa99674)

    • Listview: Added support for start attribute on numbered listviews. Fixes #4613 - Ordered list ignores "start" attribute.

link Navbar

  • Persistent navbar broken on scroll, Chrome for android. (#4663, 3d6c0f3)
    • Navbar: Fixes #4663 - Persistent navbar broken on scroll, Chrome for android. Thanks @mmavko :+1:

link Navigation

  • Add check that active.url actually exists (7fb2c7b)

  • Add tests for mobile path getLocation. (9431d8a)

  • Avoid string concat where possible. (651f20e)

  • DirectHashChange: normalize comparison terms with decodeURIComponent() (96165dc)

  • Do not reset the base tag if, during loadPage we find that the page is already in the DOM, or that we have been prevented from continuing because the default for the "pagebeforeload" event has been prevented. (0212315)

  • Fix firefox hash decode issue. (882c045)

  • Handle issue with Firefox auto decoding location.hash (94eae3b)

  • Handle urls with parens properly. (ca94e5f)

  • Inadvertent use of location.hash (e517b16)

  • Parse the hash to avoid decoding in FF, but use the location object elsewhere to avoid the inclusion of the auth. (3740d5e)

  • Re-instate $.mobile_registerInternalEvents - thanks asyraf9 — Fixes #4984, #5059 (#4984, #5059, 9de514c)

    • [navigation] Re-instate $.mobile_registerInternalEvents - thanks asyraf9 — Fixes #4984, #5059
  • Replace location.href references with a centralized method so we can address #4787. (2daa179)

  • Strip authority to avoid exploits in parse regex. (2c83dff)

  • Path.makeUrlAbsolute: If no absUrl is given, use documentBase. (715f11e)

  • XSS with location.href behavior of some browsers. (#4787, 3704130)

    • make sure the username and password in the url are encoded Fixes #4787

link Select

  • Added padding 0 to the "reset" of the custom select menu header. (d97eb33)

  • Custom select widget has a top-margin when displaying in a dialog. (#4699, e4e504b)

    • Selectmenu: Set margin 0 for the selectmenu header. Fixes #4699 - custom select widget have a top-margin when displaying in a dialog.
  • Mark as closed after dialog closes - Re: #5195 - Thanks martenbohlin (82701e5)

  • Refactor to addClass to avoid array alterations/joins. (62881f3)

  • Select menu data-placeholder not working with jQM 1.1.1. (#4696, cdb3473)

    • correct id for select test fixture, Fixes #4696
  • Selects zoom page when tapped in iOS6. Addresses #5041 (#5041, de35dc4)

    • Event timing difference in iOS 6 was causing zoom to be disabled and immediately re-enabled prior to the zoom taking place.
  • Simplify button text method, handle persisting option class for multiple selects. (ce4e3b8)

  • The button's text should preserve the original css class of the select and the selected option. This way you can customize it with i.e. images. (7651fd9)

  • Prevent-focus-zoom doesn't work. (#5333, b694e07)

    • Selectmenu: impro)ved preventFocusZoom. Fixes #5333.
  • The preventFocusZoom option check needs to be insde the event binding. (fda3e5e)

link Slider

  • Merge pull request #5049 from MauriceG/patch-5 (e94c953)

  • Layout problem with toggle switch and radio control-group. (#4720, fcb1298)

    • Slider: Avoid regression by setting all margins of the slider handle. Fixes #4720 - Layout problem with toggle switch.
  • Partly fixes an issue on Safari/Mac where the input width is decreased when the browser implements the spinner. (61938ca)

  • Slider disabling doesn't work in IE 9 and IE10. (#4770, a8c84df)

    • Stop the call structure for slider updates earlier on disabled inputs Fixes #4770
  • Slider input alterations update the slider ui on blur. (#4756, 6f3aa9f)

    • bind to vmouseup for refresh Fixes #4756

link Textinput

  • Merge pull request #5181 from jschulte/fix-5131 (ffd16d4)

  • Merge pull request #5174 from jschulte/fix-5166 (7715428)

  • Merge pull request #5175 from jschulte/fix-5166 (dd3fe8b)

  • Request: mini-Option in checkboxradio & textinput. (#4070, 15129eb)

    • Textinput: Allow to set option mini programmatically. Fixes #4070.

link Transition

  • Moving ui-page-pre class from fixedToolbar to transitions CSS. This class is added by transitions.js and not only if fixed toolbars are used. (b97ec6d)

  • Putting back the code back that was accidently removed by commit 8e570e3. (0ed5aeb)

link License

  • Remove preamble reference to the gpl (8c66aca)

  • Remove the GPL license (b9512bd)