Rick Waldron
dfea9e2b83
jQuery core style guide conformance: jquery.mobile.page.js
2011-06-29 09:27:58 -04:00
Ghislain Seguin
272ef99e1d
Coding standards
2011-06-29 06:24:18 -07:00
Ghislain Seguin
a7074bc86f
Merge pull request #1973 from rwldrn/jquery.mobile.listview.js-2
...
jQuery core style guide conformance: jquery.mobile.listview.js-2
2011-06-29 06:21:07 -07:00
Ghislain Seguin
233a57f3a4
Merge pull request #1966 from rwldrn/jquery.mobile.listview.filter.js
...
jQuery core style guide conformance: jquery.mobile.listview.filter.js
2011-06-29 06:19:35 -07:00
Rick Waldron
e42ab139b3
jQuery core style guide conformance: jquery.mobile.listview.js-2, revert
2011-06-29 09:19:19 -04:00
Rick Waldron
6b1d18b55e
jQuery core style guide conformance: jquery.mobile.navbar.js-2
2011-06-29 09:06:18 -04:00
Rick Waldron
96ea959e44
jQuery core style guide conformance: jquery.mobile.listview.js-2
2011-06-29 09:03:49 -04:00
Rick Waldron
c96225796a
jQuery core style guide conformance: jquery.mobile.listview.filter.js 2
2011-06-29 08:49:46 -04:00
Ghislain Seguin
453d9985cf
Coding standards and linting
2011-06-28 23:15:12 -07:00
Ghislain Seguin
d0ec1ec452
Merge pull request #1660 from gseguin/issue-1470
...
Fix for #1470
2011-06-28 22:26:00 -07:00
Ghislain Seguin
595a2371f2
Coding standards
2011-06-28 22:17:41 -07:00
Ghislain Seguin
547a82c44c
Merge remote-tracking branch 'upstream/master'
2011-06-28 22:14:40 -07:00
Ghislain Seguin
0b21f045c6
Merge pull request #1967 from rwldrn/jquery.mobile.navbar.js
...
jQuery core style guide conformance: jquery.mobile.navbar.js
2011-06-28 22:14:31 -07:00
Ghislain Seguin
f93e362075
Merge pull request #1965 from rwldrn/jquery.mobile.grid.js
...
jQuery core style guide conformance: jquery.mobile.grid.js
2011-06-28 22:13:22 -07:00
Ghislain Seguin
8a9010d5e6
Coding standards
2011-06-28 22:06:30 -07:00
Ghislain Seguin
8e93a318bf
Fixed comment
2011-06-28 21:47:10 -07:00
Ghislain Seguin
f8c8e618bb
Merge pull request #1964 from rwldrn/jquery.mobile.forms.textinput.js
...
jQuery core style guide conformance: jquery.mobile.forms.textinput.js
2011-06-28 21:39:26 -07:00
Ghislain Seguin
0f388ade64
Merge pull request #1963 from rwldrn/jquery.mobile.forms.slider.js
...
jQuery core style guide conformance: jquery.mobile.forms.slider.js
2011-06-28 21:33:15 -07:00
Ghislain Seguin
d53cb839da
Merge pull request #1962 from rwldrn/jquery.mobile.forms.select.js
...
jQuery core style guide conformance: jquery.mobile.forms.select.js
2011-06-28 21:14:40 -07:00
Rick Waldron
05059f30d5
jQuery core style guide conformance: jquery.mobile.event.js
2011-06-28 23:48:20 -04:00
Rick Waldron
3c57cb8778
jQuery core style guide conformance: jquery.mobile.fieldContain.js
2011-06-28 23:48:03 -04:00
Rick Waldron
250d00cde3
jQuery core style guide conformance: jquery.mobile.fixHeaderFooter.js
2011-06-28 23:47:46 -04:00
Ghislain Seguin
80804c4818
Merge pull request #1961 from rwldrn/jquery.mobile.forms.checkboxradio.js
...
jQuery core style guide conformance: jquery.mobile.forms.checkboxradio.js
2011-06-28 19:39:09 -07:00
Rick Waldron
0750fc2e3b
jQuery core style guide conformance: jquery.mobile.navbar.js
2011-06-28 21:38:41 -04:00
Rick Waldron
f5cc791297
jQuery core style guide conformance: jquery.mobile.listview.filter.js
2011-06-28 21:35:42 -04:00
Rick Waldron
5dbbf68d4e
jQuery core style guide conformance: jquery.mobile.forms.slider.js
2011-06-28 21:27:07 -04:00
Rick Waldron
c66fcd2ccb
jQuery core style guide conformance: jquery.mobile.grid.js
2011-06-28 21:25:13 -04:00
Rick Waldron
e44f553a64
jQuery core style guide conformance: jquery.mobile.forms.textinput.js
2011-06-28 21:20:52 -04:00
Rick Waldron
373c42d9ef
jQuery core style guide conformance: jquery.mobile.forms.select.js
2011-06-28 20:54:30 -04:00
Ghislain Seguin
2a232a06e0
Merge pull request #1960 from rwldrn/jquery.mobile.forms.button.js
...
jQuery core style guide conformance: jquery.mobile.forms.button.js
2011-06-28 17:40:48 -07:00
Rick Waldron
74f05680b3
jQuery core style guide conformance: jquery.mobile.forms.checkboxradio.js
2011-06-28 20:35:40 -04:00
Ghislain Seguin
ab7eceb768
Merge pull request #1956 from rwldrn/jquery.mobile.dialog.js
...
jQuery core style guide conformance: jquery.mobile.dialog.js
2011-06-28 17:27:15 -07:00
Ghislain Seguin
0218d39449
Merge pull request #1955 from rwldrn/jquery.mobile.core.js
...
jQuery core style guide conformance: jquery.mobile.core.js
2011-06-28 17:25:20 -07:00
Rick Waldron
76b173dab2
jQuery core style guide conformance: jquery.mobile.fieldContain.js
2011-06-28 20:22:34 -04:00
Rick Waldron
ab751c8bdc
jQuery core style guide conformance: jquery.mobile.core.js
2011-06-28 20:17:45 -04:00
Rick Waldron
92451a0287
jQuery core style guide conformance: jquery.mobile.forms.button.js
2011-06-28 20:15:43 -04:00
Rick Waldron
42f0b64262
jQuery core style guide conformance: jquery.mobile.event.js
2011-06-28 19:47:21 -04:00
Rick Waldron
5fe4bae160
jQuery core style guide conformance: jquery.mobile.dialog.js
2011-06-28 19:29:48 -04:00
Kin Blas
ddb06761b0
Merge pull request #1952 from rwldrn/jquery.mobile.collapsible.js
...
jQuery core style guide conformance: jquery.mobile.collapsible.js
2011-06-28 16:21:47 -07:00
Kin Blas
7efab0ed0d
Merge pull request #1954 from rwldrn/jquery.mobile.media.js
...
jQuery core style guide conformance: jquery.mobile.media.js
2011-06-28 16:14:22 -07:00
Kin Blas
988045c65e
Merge pull request #1953 from rwldrn/jquery.mobile.controlGroup.js
...
jQuery core style guide conformance: jquery.mobile.controlGroup.js
2011-06-28 16:09:23 -07:00
Rick Waldron
5b6a0570f5
jQuery core style guide conformance: jquery.mobile.collapsible.js
2011-06-28 19:02:33 -04:00
Rick Waldron
c351e9929a
jQuery core style guide conformance: jquery.mobile.controlGroup.js
2011-06-28 19:01:27 -04:00
Rick Waldron
5b02da2c09
jQuery core style guide conformance: jquery.mobile.buttonMarkup.js
2011-06-28 18:30:17 -04:00
Rick Waldron
eaa91317d1
jQuery core style guide conformance: jquery.mobile.media.js
2011-06-28 18:19:05 -04:00
Kin Blas
aff87cc9f1
Fix for the mysterious "page is too large" error Todd and Scott were seeing on Blackberry 5 prior to shipping jQM beta 1.
...
Turns out this little code was enough to invoke the error:
"/dir1/dir2".replace(/\/?/, "");
Rewrote the regexp in path.makePathAbsolute() that was stripping leading slash, and trailing filename/slash. This gets around the problem.
Special thanks to @adambiggs for helping me test 33 iterations when trying to narrow down what in jquery.mobile.navigation.js was choking BB5.
2011-06-27 16:50:01 -07:00
Kin Blas
008c5d7458
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-27 10:25:34 -07:00
Kin Blas
0d65a0d1c5
- Fixed issue #1923 - url of form is miscalculated
...
- Added code to calculate whether to choose the documentUrl or the page Url in the case where an action is not specified on a form element.
- Fixed bug in the navigation "submit" handler where an error was being thrown if "type" was not specified.
- Fixed typo "diabled" id typos in tests/unit/navigation/index.html.
- Added tests for form submissions with no action in both base and non-base specified cases.
2011-06-27 10:25:13 -07:00
Adam Vaughan
abc2763188
don't submit the filter form
2011-06-27 09:35:16 -06:00
John Bender
1bf84177e0
whitespace correction in core
2011-06-26 12:10:11 -07:00
John Bender
b321d5f5f0
removed old nsNormalize camelcase regex
2011-06-26 12:10:11 -07:00
John Bender
601b4a8481
core whitespace fixes
2011-06-26 12:10:10 -07:00
Ghislain Seguin
ebd4eeced0
Fix for issue #1929 (second attempt)
2011-06-24 21:13:46 -07:00
Ghislain Seguin
00297af2ab
Revert "Fixed issue #1929 " as it is breaking horizontal controlgroups
...
This reverts commit 226873d988 .
2011-06-24 20:08:51 -07:00
Ghislain Seguin
50a26155e0
Merge remote-tracking branch 'upstream/master'
2011-06-24 16:13:02 -07:00
Ghislain Seguin
226873d988
Fixed issue #1929
2011-06-24 16:11:54 -07:00
scottjehl
9f07a1cfb2
ensure that the active button state is still applied to check and radio sets that don't have icons
2011-06-24 12:40:01 -04:00
Ghislain Seguin
ffdab6ff32
Fixed a glitch in the icon class name generation. It was adding ui-icon-ui-icon-checkbox-off to the checkbox icon element (2x ui-icon) and similar to radio icon element
2011-06-24 12:40:01 -04:00
Ghislain Seguin
9c3ebe07ea
Added state class to label of checkbox/radio
2011-06-24 12:40:01 -04:00
scottjehl
5a4b5f3206
Implemented the new design for checkboxes and radios as proposed by @toddparker.
2011-06-24 12:40:00 -04:00
Scott Jehl
b3ad908afa
Merge pull request #1891 from cburgdorf/patch-1
...
Some jslint fixes. Corrected curly braces on new line and ==/=== issues
2011-06-24 08:53:46 -07:00
Martin Sutherland
83973b429b
Fix issue 1913 - unnecessary ajax call and duplicate DOM nodes when refreshing a page with a dialog visible
2011-06-23 18:33:06 +02:00
Tobias Bosch
ff2ef4076b
fix issue 1851 as suggested
2011-06-23 13:31:05 +02:00
cburgdorf
c13a2f3bcb
Fixed curly braces on new line
2011-06-22 09:31:49 -07:00
scottjehl
a43ce64db2
moved our form binding into the _registerInternalEvents callback, to ensure it's not bound until after mobilinit.
2011-06-22 11:43:22 -04:00
cburgdorf
5c0cfb29cb
Some jslint fixes. Corrected curly braces on new line and ==/=== issues
2011-06-21 23:53:16 -07:00
scottjehl
c227535bd7
removed vclick + click combined event binding, which was in there as a workaround for a not-consistently-occurring bug in Android 2.1. I think the real issue is related to lack of dynamic base tag support, and that occasionally, a relative href click will use default handling in 2.1 and go where it shouldn't (ignoring the base href). Either way, this double binding causes history problems in Safari, so I'm removing it while we search for a better 2.1 workaround. Fixes #1870
2011-06-21 12:43:17 -04:00
scottjehl
ffdfa4e7c2
moved page load event bindings to a post-mobileinit callback so that the useFastClick option can be set before it is used. Unit test included. Fixes #1869
2011-06-21 11:33:38 -04:00
Kin Blas
5890a801be
Fixed a couple of errors caught by jshint.
2011-06-20 15:09:54 -07:00
Ghislain Seguin
31bd038d74
Merge remote-tracking branch 'upstream/master' into issue-1470
...
Conflicts:
tests/unit/listview/index.html
tests/unit/listview/listview_core.js
2011-06-20 12:51:40 -07:00
scottjehl
fe79ad63a4
fixed a bug in IE desktop, where calling scrollTop before domready was trying to access the body element before it was present. Moved this logic to domready and all's well.
2011-06-20 13:57:38 -04:00
scottjehl
9fffcb6eca
bind to click as well, for an edge case in android 2.1
2011-06-20 13:44:33 -04:00
scottjehl
9c9a9ad147
set page min-height using availHeight or availWidth, rather than height (to fine tune height to exclude browser chrome). Also, reset the active page height on throttledresize and pageshow, eliminating some duplicate calls.
2011-06-20 13:31:26 -04:00
scottjehl
45a71ac499
Added global config option "useFastClick", so that the changes we made for automated ajax handling since A4 can be disabled if needed, for whatever reason. When handling clicks and taps automatically with Ajax, this option will use jQuery Mobile's <code>vclick</code> event, enabling page changes to happen slightly sooner on devices that support touch events, and keeping the address bar hidden during page transtions. When disabled, the automatied Ajax handling will use an ordinary <code>click</code> event instead. This option has no effect on non-touch devices, but when enabled, it may interfere with jQuery plugins that bind to click events rather than vclick events. Fixes #1857
2011-06-20 11:35:09 -04:00
scottjehl
823485ce11
Blur other buttons when a new one is clicked and gaining focus. This gets rid of the trail of focus states issue we've been seeing. Fixes #1840 .
2011-06-19 14:34:36 -04:00
scottjehl
84f4d9dc3c
switched the order so that scroll check happens earlier.
2011-06-19 14:20:19 -04:00
scottjehl
a09c53eb71
improved the address bar hiding logic to support Android as well by determining up-front which hiding number should be used. Fixes #1673 . Fixes #1322 . Fixes #1786 .
2011-06-19 13:53:27 -04:00
scottjehl
ca0c1165fd
should be bound to throttled resize as well, actually.
2011-06-19 08:00:10 -04:00
scottjehl
8c6164dbf0
Added new throttledresize special event, including unit tests. This event prevents browsers from running continuous callbacks on resize, which we use internally for orientationchange in browsers like IE. It still ensures that a held event will execute after the timeout, so logic that depends on the final conditions after a resize is complete will still execute properly. This improves performance noticeably, and... Fixes #1496 . Fixes #1848 . Fixes #1422 .
...
The included tests pass most of the time, but they need improvements as they will occasionally fail due to faulty timing in the tests themselves, as far as I can tell (the code tests out fine in our functional demos).
2011-06-18 11:41:47 -04:00
scottjehl
ee424f5f97
only bind to orientationchange, as resize is built into it already as a fallback
2011-06-18 10:43:11 -04:00
scottjehl
90fb871ee8
referenced the full object to avoid a minifier issue when trying to reference a local variable. Will follow up on this...
2011-06-18 09:19:45 -04:00
scottjehl
ffa35c0548
improved minheight page logic
2011-06-17 19:19:47 -04:00
scottjehl
fcbfc2f380
added minScrollBack feature to core options. This is the minimum scroll distance that will be jumped-to when returning to a page. By default, the distance is screen.height /2. If you really needed to disable scroll memory altogether, this could be set to Infinity. Note that disabling scroll memory altogether is almost never a good idea for usability, but the option is there.
2011-06-17 19:19:47 -04:00
scottjehl
3bd713c185
added resetActivePage on pagecreate, orientationchange, and after transitions.
2011-06-17 19:19:47 -04:00
scottjehl
690dc66f7c
set heights including respective scrolls
2011-06-17 19:19:46 -04:00
scottjehl
aa950ba125
Only call scrollTo if there's a scroll distance we need to go to. If the distance we're jumping to is 20px or less, let it go in for tolerance. Reset toPage height before scrolling, focusing.
2011-06-17 19:19:46 -04:00
scottjehl
df7ac2f642
fix up the page heights during transitions, and min-heights otherwise.
2011-06-17 19:19:46 -04:00
scottjehl
ed7aae1d1c
hide address bar during page changes by catching ajax clicks early through binding to touchend, and make pages fit screen height during transitions
2011-06-17 19:19:46 -04:00
scottjehl
758e430653
fixed theme inheritance on filter lists in IE7.
2011-06-17 19:02:53 -04:00
scottjehl
722ed2cbbf
If ajax is disabled, exit the click handler early and avoid parsing the href at all. Thanks for the idea, @toddparker! Fixes #1846 .
2011-06-17 18:33:16 -04:00
Ghislain Seguin
f32fe66bf7
Merge remote-tracking branch 'upstream/master' into issue-1470
...
Conflicts:
tests/unit/listview/listview_core.js
2011-06-17 10:46:52 -07:00
Kin Blas
525543b06d
Merge pull request #1662 from gseguin/issue-1654
...
Issue 1654
2011-06-17 09:41:22 -07:00
Ghislain Seguin
ff8517c915
Merge remote-tracking branch 'upstream/master' into issue-1654
...
Conflicts:
tests/unit/listview/listview_core.js
2011-06-17 09:37:36 -07:00
scottjehl
1dd6608829
remove active button state on buttons that close dialogs. Fixes #1839
2011-06-17 02:11:59 -04:00
Scott Jehl
0cff6336bd
Merge pull request #1489 from bernharduw/master
...
Radio buttons in nested listviews don't work. Fixes #1486
2011-06-16 22:41:16 -07:00
scottjehl
d2a6397983
added list filterTheme option. Available as data attribute data-filter-theme on listviews with filters enabled. Fixes #1790 - List view filter can not be themed.
...
Thanks for the idea @adamvaughan! Docs update coming next.
2011-06-17 00:59:17 -04:00
Scott Jehl
004f67d384
Merge pull request #1817 from wtw/master
...
Fixes #1549 .
2011-06-16 21:29:12 -07:00
scottjehl
fd738c5b04
Modified the listview thumbail-finding logic to specifically find first children of the li or the primary button's inner anchor element. Fixes #1794 . Fixes #1458
2011-06-17 00:21:11 -04:00
Scott Jehl
cc809da95c
Merge pull request #1828 from eddiemonge/bug_1825
...
Code guideline styling changes for collapsible.js
2011-06-16 20:59:23 -07:00
scottjehl
e06ae4a5b9
rolled back the change to looking up list filter placeholders. Seems to work fine as it was originally. Added a custom placeholder to the listview filter with headings demo page.
2011-06-16 23:47:04 -04:00
Scott Jehl
60f80b9473
Merge pull request #1838 from adamvaughan/issue1836
...
Fix for issue 1836 - List view filter placeholder data attribute is not used. Edits coming after this commit.
2011-06-16 20:37:40 -07:00
Kin Blas
96b3e710d4
Added utility functions $.mobile.getDocumentBase() and $.mobile.getDocumentUrl() so that developers can retrieve the original base and url used when loading the document.
2011-06-16 15:43:40 -07:00
Kin Blas
8b6d14bb03
Fix for issue 1826 - Nightly build - dialog box no longer rounded corners
...
- Don't set a default value for the 'role' option to loadPage() and changePage(). Instead, rely on the role attribute that is on the element.
- Fixed an error that was happening when a hash change involves going from a dialog back to another dialog. I had recently made changes that assumed the 'to' variable was always going to be a url string, but it turns out in the dialog back to dialog case, it is an actual jQuery collection.
2011-06-16 13:36:39 -07:00
Adam Vaughan
d1a958d1d7
Fix for issue 1836 - List view filter placeholder data attribute is not used.
2011-06-16 11:46:04 -06:00
Kin Blas
d2f115349a
Fix for issue 1833 - No page transition used when hitting the browser forward button
...
- Don't use the transition of the initial page on the stack.
2011-06-15 15:28:52 -07:00
jblas@adobe.com
dd69372dd4
Adjusted the urlParserRE regexp to account for double slashes in the directory path to work around a phonegap 0.9.4.
2011-06-15 10:37:08 -07:00
Eddie Monge
0de386eda9
Code guideline styling changes for collapsible.js
2011-06-14 15:32:57 -07:00
Todd Parker
7e40ddff4e
Merge pull request #1803 from eddiemonge/combine
...
minor changes to combine.php
2011-06-14 11:42:40 -07:00
Kin Blas
c011f51f14
Removed unused path.isRelative() function. Replaced unit tests for isRelative() with tests for path.isRelativeUrl.
2011-06-13 16:45:10 -07:00
Wolfram Twelker
41c1116aa2
Fixed ticket 1549 - no change event triggered on deselecting first
...
option in multiple-select
2011-06-11 17:12:15 +02:00
Kin Blas
e286808391
Rule of thumb ... get your logic right and your code will behave as you expect.
...
- I should've been using !== instead === when figuring out docBaseDiffers.
2011-06-10 16:13:58 -07:00
Kin Blas
963a84cb18
IE7 returns an empty string for regexp submatches while all other browsers return undefined. Modified the parseUrl() function to normalize all non-matches to an empty string and replaced all strict checks for undefined to strict checks for an empty string.
2011-06-10 15:31:09 -07:00
Kin Blas
244385b9f9
Merge branch 'master' into path-fixes
2011-06-10 10:02:11 -07:00
Kin Blas
b7bcf93620
- We were missing a changepage notification in the case where we were transitioning to the same page.
...
- Added changepagefailed notification for the case where the load fails. Note we still need beforeloadpage/loadpage notifications.
- Misc fixes to stop the navigation unit tests from seemingly random failures. It seems that the hash resets in setup/teardown of the test modules sometimes interferes with the changePage() requests in the tests. Added code to the setup/teardown functions to wait for the reset to complete before moving on to the tests.
2011-06-10 10:00:25 -07:00
Ghislain Seguin
4572200107
Coding standards
2011-06-10 09:40:41 -07:00
Ghislain Seguin
c9abc368d8
Issue #1762 : Removed extra iteration on list items
2011-06-10 09:40:15 -07:00
frietsch
d99d096ab7
Bugfix: ":jqmData(ajax='false')" might also match forms, which have neither of "src" or "href". In that case, thisUrl is undefined, and the following replace results in an error.
2011-06-09 08:21:21 -07:00
Eddie Monge
3688e8fa92
minor changes to combine.php
2011-06-09 01:51:37 -07:00
Kin Blas
3d6bd402a2
- Changes to get the navigation_helpers.js unit tests green.
...
- Modified isExternal so that it returns true/false to help with unit tests.
2011-06-08 17:20:01 -07:00
scottjehl
5512c8af02
use prop instead of attr for enable/disable
2011-06-08 18:12:42 -04:00
Kin Blas
eb082c27e3
Merge branch 'master' into path-fixes
...
Fixed Conflicts:
js/jquery.mobile.navigation.js
2011-06-08 15:10:16 -07:00
Kin Blas
8e1e77badf
Get deep linking to internal pages working again. We can now also deep link to nested list sub-pages that are contained within internal pages.
2011-06-08 15:06:41 -07:00
scottjehl
93e7afd4b1
make sure nested collapsible sets don't toggle their parent collapsibles when expanded. Fixes #1387
2011-06-08 18:00:26 -04:00
Kin Blas
33b9ee8052
Changes to make sure the data-url are either an id, site relative path (for same domain), or absolute Url (for cross-domain Phone Gap).
2011-06-08 14:47:24 -07:00
Kin Blas
a99728d178
- Added addSearchParams() utility function.
...
- Removed unused path functions: setOrigin(), makeAbsolute(), and isQuery().
- Modified loadPage() so that it uses addSearchParams() instead of naively appending it to the URL.
- Switched the global "click" handler back to using the link @href attribute and manually converting it to an absolute URL. This was necessary because it turns out that the href property on a link is dynamically calculated at the time of access based on the *CURRENT* base tag setting. This means the same link can return a different href value if the the base tag is different each time you access it.
2011-06-06 15:58:21 -07:00
Kin Blas
19f1a775b9
Missed a couple of places I should've used hrefNoHash when I converted documentBase to an urlObject.
2011-06-04 10:51:41 -07:00
Kin Blas
f9dd767528
Switched form handler over to processing absolute urls.
2011-06-04 01:22:16 -07:00
Kin Blas
ba502f0aff
Changes to switch the global link click handler over to processing absolute urls.
2011-06-04 00:26:25 -07:00
Ghislain Seguin
9d3862c825
Whitespace change
2011-06-03 19:02:13 -07:00
Kin Blas
b148ee424a
Added isSameDomain() Utility function.
2011-06-03 13:57:25 -07:00
Ghislain Seguin
3ee2585cba
Fix for issue #1617 : Nested lists with same parent text resolve to the same sub-page.
2011-06-03 10:55:04 -07:00
Kin Blas
b31825a1d7
Fixed issue 1767 - loadPage/changePage broken in trunk (latest build)
...
- Not sure how/why I added that extra absUrl, but its gone now.
2011-06-02 10:41:55 -07:00
Kin Blas
a2182dafa9
- Added a getClosestBaseUrl() utility function for calculating the correct base URL to use for a given element.
...
- We should be using makeUrlAbsolute() instead of makePathAbsolute() when calculating the documentBase.
- Removed bogus code in pathname calculatino in makeUrlAbsolute().
- Reworked calculation of search in makeUrlAbsolute() to prevent an undefined in the case where rel and abs urls have no search.
2011-06-01 17:15:18 -07:00
Kin Blas
3ca5dd854a
- Added URL parsing and relative to absolute path and url utility methods.
...
- Switched the base tag management code over to using new utilities.
2011-06-01 11:59:13 -07:00
eddiemonge
244cda822a
add white space for code standard
2011-05-31 14:44:31 -07:00
eddiemonge
0438418175
merge changes
2011-05-31 14:41:54 -07:00
Kin Blas
a5d3c05e4b
Merge branch 'dialogToCodeStandards' of https://github.com/StevenBlack/jquery-mobile into StevenBlack
...
Fixed Conflicts:
js/jquery.mobile.dialog.js
2011-05-31 14:14:05 -07:00
eddiemonge
d3df858eea
missed an equal sign
2011-05-27 12:13:48 -07:00
Kin Blas
991db0de46
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-05-27 10:55:20 -07:00
Kin Blas
ef9d55f4b6
Hopefully the last set of fixes for issue 1712 - $.mobile.changePage broken in latest
...
- The test case calls changePage() with a hash ("#b"). In our normal processing of clicks/form submits we strip it before calling. The old code did a strip in changePage() just in case, so I added it back in to fix the last bug.
2011-05-27 10:53:19 -07:00
Scott Jehl
4b40896b6a
Merge pull request #1709 from shanag/checkboxradio-keyboard-fix
...
Allow checkboxes and radio buttons to be selected with the keyboard
2011-05-27 07:11:21 -07:00
Shana Golden
c9d97ef261
Allow checkboxes/radio buttons to be selected with keyboard - updated to use prop()
2011-05-27 10:06:18 -04:00
eddiemonge
371efce3c3
actually use the defined variables
2011-05-26 17:20:56 -07:00
Kin Blas
6fdb90df17
Fixed a typo in $.mobile.loadPage.defaults. The default for the data property should be undefined, not the string "undefined".
2011-05-26 17:04:27 -07:00
Kin Blas
c8761525e7
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-05-26 16:41:41 -07:00
Kin Blas
7befe9087a
The signature of changePage() has changed but folks need some time to transition to using the new signature. I added code to changePage() that maps any old signature calls to changePage() into a new call. This should fix issue 1712 ($.mobile.changePage broken in latest). This code should be removed before shipping 1.0.
2011-05-26 16:39:09 -07:00
Todd Parker
6ac1598033
Merge pull request #1719 from StevenBlack/buttonMarkupToCodeStandards
...
jquery.mobile.buttonMarkup.js: Whitespace changes, bring this package up to coding standards
2011-05-26 13:04:37 -07:00
Steven Black
bce94ffbaa
jquery.mobile.collapsible.js: Whitespace to standards. Now passes jsHint.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 15:41:01 -04:00
Steven Black
399c2c5af0
jquery.mobile.buttonMarkup.js: Whitespace changes, bring this package up to jQuery coding standards.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 15:08:10 -04:00
Mat Marquis
86295b170d
Correcting my own comment.
2011-05-26 13:00:01 -04:00