Commit graph

3310 commits

Author SHA1 Message Date
Hans-Peter Buniat
df68b0188c second attempt to fix #2416 2011-09-19 07:12:36 +02:00
Hans-Peter Buniat
afe6630425 try/catch the regexp, fixes 2416 2011-09-18 17:53:03 +02:00
John Bender
265ffb68e4 update docs to reflect pagecreate -> pageinit migration with examples of when to use either 2011-09-16 10:24:14 -07:00
John Bender
c61354447c alter pageinit test to validate that child widgets are in fact enhanced when the event is fired. covers the previous tests case 2011-09-16 10:24:14 -07:00
gseguin
095d731398 Updated tests following removal of .jqmHasData() ( commit 15667eee1b ) 2011-09-16 09:19:12 -07:00
gseguin
dbab6c06f7 Fix for issue #2455
Updated doc
2011-09-16 09:18:00 -07:00
gseguin
15667eee1b Fix for issue #2455
Removed .jqmHasData()
2011-09-16 09:17:01 -07:00
gseguin
101657d7b7 Tests following .jqmData() behavior change ( commit a0ca22ae3d ) 2011-09-16 09:14:46 -07:00
gseguin
a0ca22ae3d Changed behavior of .jqmData() only when called with no argument. It now returns undefined as per discussion on #jquerymobile-dev 2011-09-16 09:12:25 -07:00
Kin Blas
320c12126f Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-15 17:00:27 -07:00
Kin Blas
78234976e7 Fix for issue 2050 - URL handling and PlayBook Webworks app
- Modified the url parser regexp so that we can  find the double slash that precedes the authority. This is necessary so we can reconstruct resource urls used on some devices like Rim's Playbook that use urls like:

location:/dir1/dir2/file.html

- Modified makeAbsoluteUrl() so that it uses the new doubleSlash property in the object returned from parseUrl() instead of assuming that it is ok to use a double slash.
2011-09-15 16:56:54 -07:00
gseguin
e4ff8fb539 Merge remote branch 'upstream/master' 2011-09-15 16:11:04 -07:00
gseguin
a908c5a6ef Fix for issue #1361
Mixin individual properties to options instead of calling .jqmData()
2011-09-15 16:10:10 -07:00
John Bender
f932c9b13d init test for jqm using page widget 2011-09-15 15:35:48 -07:00
John Bender
ae2e7f0dc4 add 'widgetinit' event for users to enhance widgets and markup post 'widgetcreate' 2011-09-15 15:15:14 -07:00
John Bender
150697c8d2 whitespace fix for nav core tests 2011-09-15 15:12:52 -07:00
John Bender
56c0b9de36 unmock which value for other tests 2011-09-15 11:10:15 -07:00
John Bender
15cb663e52 suggestion from @jblas to save a bit of execution 2011-09-15 10:45:27 -07:00
John Bender
5346a91595 added event test to make sure the which was being defined on triggered events 2011-09-15 10:36:12 -07:00
John Bender
9cc8daa91a test that middle click doesn't trigger a page change 2011-09-15 10:25:04 -07:00
John Bender
416b666ca8 prevent clicks on anything but the left mouse button, also adds the which value to the events when its undefined in the vmouse plugin 2011-09-15 10:16:40 -07:00
gseguin
7dc20cd000 Merge remote branch 'upstream/master' 2011-09-14 21:13:08 -07:00
gseguin
139ab1378b Added comments 2011-09-14 21:12:43 -07:00
gseguin
99e52eafdc Set font-weight to normal in collapsible content 2011-09-14 21:11:54 -07:00
Kin Blas
c541ceba69 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-14 18:20:34 -07:00
Kin Blas
cac203291e Switched the sample-reuse-page-external.html sample over to calling a PHP script that supplies JSON data when called via XHR, or HTML when called directly. 2011-09-14 18:19:46 -07:00
gseguin
a34ba919b7 Changed collapsible doc to match code behavior 2011-09-14 17:52:10 -07:00
gseguin
518894fc69 Merge branch 'issue-1899' 2011-09-14 16:22:16 -07:00
gseguin
688b2b45c0 Fixed collapsible unit test to match last commit e6eaf7cacd 2011-09-14 16:06:31 -07:00
gseguin
e6eaf7cacd Fix for #1899:
Re-styled collapsible and collapsible set so the content of the collapsible now is applied the ui-btn-up-%%theme%% class. This way the border will match the border of the header button. In the meantime in the ui-collapsible-content class we remove the background image and tweak the margin/padding to make everything look good.
Combined the expand/collapse handlers into a single one and made extensive use of .toggleClass()
2011-09-14 16:02:47 -07:00
John Bender
3ed30673ad test for issue 2444 2011-09-14 15:54:00 -07:00
John Bender
1a385db664 prevent known hash change handling from firing from popstate hashchange Fixes #2444 2011-09-14 15:37:31 -07:00
gseguin
8c8d66781f Added some unit tests for Collapsible 2011-09-14 11:06:24 -07:00
gseguin
87ca47f162 Fix for issue #1899
Refactored some css classes
Fixed bottom corners in set with only one collapsible
2011-09-14 11:05:53 -07:00
Kin Blas
56a22727ab Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-13 00:23:33 -07:00
Kin Blas
1a92be0240 Fix for issue 2406 - Navigation from one page back to multi-page template
- Make sure that our hashchange resolves non-path hashes against the documentBase. This prevents the resulting changePath() call from incorrectly resolving against the URL for the current active (external) page.

- Fixed a problem in the push-state code. A hashchange event is *NOT* fired when navigating back (window.history.back()) from an external page to an internal page. This makes sense when you think about it since hashchange is only ever fired when the hash of the current document url changes, not when the document url itself changes. The fix was to make sure that the pushstate hashchange callback always sets a state object, even on embedded page URLs. This allows the hashchange callback to be triggered from within onPopState().
2011-09-13 00:23:03 -07:00
John Bender
942b0c29ae test for open and close no-op 2011-09-12 16:59:08 -07:00
John Bender
f1fef48239 add open and close as noop for people who might be looping over their selects and to self document the methods for extension 2011-09-12 16:53:56 -07:00
John Bender
219b450c5a test that embedded listview pages with nested lists aren't removed by the page removal code 2011-09-12 14:47:55 -07:00
John Bender
c426aefd76 add data attribute tag for pages loaded via ajax Fixes #2432 2011-09-12 14:06:47 -07:00
John Bender
fbd113bad4 whitespace in listview and core nav 2011-09-12 13:58:24 -07:00
John Bender
824bd12e12 add tests for theme inheritance in select menus 2011-09-12 09:08:48 -07:00
John Bender
ee6027a196 prefer defined theme from prototype or data options Fixes #2423 2011-09-12 09:08:48 -07:00
jblas@adobe.com
6a4bd76a9c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-09-09 18:26:21 -07:00
jblas@adobe.com
c348266166 Fixed the page last scroll test which has been failing for a few days now. 2011-09-09 18:25:43 -07:00
John Bender
97654c2d90 tests for newly refreshed items and button update with custom selects 2011-09-09 17:27:26 -07:00
John Bender
59fc26d25f fix refresh bug for new options of the same number as before 2011-09-09 17:27:26 -07:00
Ghislain Seguin
2c55c93464 Merge pull request #2419 from zachleat/master
fieldcontain comment was copy pasted on links, nojs plugins.
2011-09-09 14:16:01 -07:00
zachleat
92151822b8 Incorrect comment text on the headers of two plugins. 2011-09-09 16:07:31 -05:00
scottjehl
2dadb4dbc4 Merge remote branch 'origin/master' 2011-09-09 12:28:17 -04:00