Commit graph

806 commits

Author SHA1 Message Date
Martin Kou
2bb94172cf Fixed checkboxradio disable issue. 2011-02-26 23:55:37 -08:00
Bra1n
c828cf1f64 prevent setting the data url on pages where it is already set 2011-02-26 23:25:07 -08:00
John Bender
20dce2ce42 small refactor to simplify newActiveIndex tracking 2011-02-25 23:24:03 -08:00
John Bender
86befdeaed removed unused var/global from navigation 2011-02-25 23:24:03 -08:00
Bra1n
6152e8f511 fixed page history direction search for duplicate entries 2011-02-25 23:24:03 -08:00
Kin Blas
b4a8222366 Fix for the remainder of issue 991.
- Looks like the "Intelligent Guess" default behavior of the $.ajax() method in jQuery 1.5.1 guesses wrong when attempting to load an HTML file via a file:// URL. It's guessing that it is an XML document, so it ends up passing in the DOM document node to our success callback, instead of the expected HTML as text (responseText), so our callback code does not behave correctly. We can get around this by simply specifying dataType:"html" at the time we make a request.
2011-02-25 18:23:26 -08:00
John Bender
497f45ae81 Merge branch 'checkboxradio-typo-bugfix' of https://github.com/martinkou/jquery-mobile into martinkou-checkboxradio-typo-bugfix 2011-02-24 22:22:11 -08:00
John Bender
338e5cb96a movied variables in listview filter to camel case convention used elsewhere 2011-02-24 00:07:27 -08:00
Ernesto Jiménez
dae3e2fa74 Proper support for lists with search filter and dividers 2011-02-23 17:42:47 +00:00
Martin Kou
796c8642bd Fixed a typo in checkboxradio which causes JS errors. 2011-02-20 18:32:02 -08:00
John Bender
2704975095 re arranged tests for mobile init 2011-02-20 18:07:17 -08:00
John Bender
a64a44504b moved page additions after gradeA check in init and removed from core 2011-02-20 18:07:17 -08:00
John Bender
b21531a0ac left gradeA in core, added todo for page element addition refactor 2011-02-20 18:07:17 -08:00
John Bender
891f9b1b07 moved initialization down in the build order, still requires some small refactoring 2011-02-20 18:07:17 -08:00
scottjehl
b6b7aebe14 null hrefs should just preventDefault and return, rather than returning false. Fixes #1118 2011-02-18 16:46:28 -05:00
scottjehl
00a8082acc updated to jQuery 1.5.1 RC 2011-02-18 16:43:20 -05:00
scottjehl
670ec15661 switched collapsibles over to tap event. Fixes #1056 2011-02-18 12:43:34 -05:00
John Bender
709d12e4d6 resolved conflict for default dialog transition to pop 2011-02-16 22:52:14 -08:00
unknown
ee1a8c1977 listview thumb styling via listview('refresh'). Fixes 947 2011-02-16 22:25:37 -08:00
John Bender
61b7b2e002 removed unnecessary var declaration 2011-02-16 19:55:01 -08:00
Ernesto Jiménez
9aa1a38a32 Reviewing the code realised that this var was implicitly declared as global. 2011-02-16 22:22:28 +00:00
John Bender
3759f87173 reverted to regex method of retrieving the data-url from ajax loaded content to guarantee base is set, regex's courtesy of jblas 2011-02-15 22:24:15 -08:00
John Bender
f301018c1c added an extra parameter to data url element to match reported issue in pull request 2011-02-14 17:33:06 -08:00
John Bender
47d4a1fb0a refactor/simplification of fix for broken regex matching data url in ajax loaded pages 2011-02-14 17:25:23 -08:00
John Bender
5a23721a92 whitespace fix for navigation 2011-02-14 17:23:25 -08:00
Ernesto Jiménez
09213738f3 Regular expression / data-url="(.*)"/ doesn't stop at the end of the attribute
but the last quotes in the HTML.

I have replaced wildcard . with [^"] to fetch only the attribute content.
2011-02-14 16:33:58 +00:00
Kin Blas
b696bda01b Cleaning up a bunch of jslint errors and warnings. 2011-02-08 13:13:59 -08:00
John Bender
3ca20f8362 resolved small conflict in test fixtures 2011-02-07 22:33:49 -08:00
Kin Blas
1c9414d030 Fix for issue #997 - Syntax Error (line 1711) alpha 3
- Escaped the slash characters inside the brackets of the href regexp.
2011-02-07 11:43:55 -08:00
John Bender
a025c0bffc backed out autoInitialize moving to feature request backlog 2011-02-06 21:18:51 -08:00
Alex Kovar
d970c20e4c fixed error when from is undefined 2011-02-05 14:03:31 -06:00
Alex Kovar
79929949db fix issue with failed page load not releasing page transition lock 2011-02-05 14:00:31 -06:00
scottjehl
8dc5d0d79e fixed a regression in some android 2.2 devices where checkboxes were toggling on and off on every click. Fixes #935 as well. 2011-02-03 18:28:32 -05:00
scottjehl
bd79c32c9a Page min-height was being calculated with JS and it was far too tall. This moves the values into CSS with values that are aimed towards iPhone (as this is addressing an iPhone transitions issue with the address bar show/hide). 2011-02-03 17:22:23 -05:00
toddparker
8b728d8df7 Re-named the ui-icon-search used on search inputs to ui-icon-searchinput so I modified the script for search input to reflect this change 2011-02-03 13:38:07 -05:00
scottjehl
16c743ac39 In android 2.1 and 1.6, the split button anchor needed to be a sibling of the overall row button div in the LI. It seems this may be due to the event handlers bound to the div button, but I'm not entirely sure that's it. Either way, this workaround is straightforward and does not introduce issues in other browsers, so aside from the additional overhead involved in re-appending the links to the LIs, this fix is good to go. Fixes #874 2011-02-03 02:57:59 -05:00
John Bender
a79799e3b3 added step tests for keypress, removed data-step attribute check in favor of html5 range step attribute 2011-02-02 23:46:20 -08:00
John Bender
3a24aa4de6 Merge branch 'external-clear' of https://github.com/ajkovar/jquery-mobile into ajkovar-external-clear 2011-02-02 23:15:58 -08:00
scottjehl
67987925b4 property should not be defined in $.mobile. 2011-02-02 20:02:04 -05:00
Alex Kovar
e3a5dd5b09 fixed base undefined error in firefox 2011-02-02 13:10:40 -06:00
Alex Kovar
2754087fc7 externalize $.mobile.urlHistory.clear function 2011-02-02 12:58:27 -06:00
scottjehl
b464b1bcec added a workaround for the selectmenu plugin's nativeMenu in Opera. Opera browsers improperly support opacity on select elements, either hiding the menu button but not its text (in Mini), or hiding the text but not the button. Either way, it makes our hidden-select trick look really bad, or unusable. This workaround adds a class to the select in Opera, and makes the native menu visible. In the case of a false positive, that's not a bad outcome. Fixes #897 2011-02-02 12:04:18 -05:00
scottjehl
110ba9e98e remove active button class on touchmove. This could technically use some tolerance, but it goes back to active if the select ends up opening, so I think it's fine as is, without adding more logic. Credit goes to @davibe for the change. 2011-02-02 01:41:07 -05:00
Davide Bertola
08b17e71cb Make button look pressed on touchstart event 2011-02-02 14:28:58 +08:00
John Bender
107fc25838 minor simplification to the on ready init 2011-02-01 22:04:05 -08:00
John Bender
0a7bdfd632 whitespace in mobile core 2011-02-01 22:04:05 -08:00
unknown
9caaa9cfde Added ability to control if $.mobile will automatically load first page/pages on dom ready using $.mobile.autoInitialize. 2011-02-01 22:04:05 -08:00
scottjehl
675deb1282 Merge remote branch 'origin/master' 2011-02-02 00:59:59 -05:00
John Bender
4ddc5c7dd5 Merge branch 'changepagefix' of https://github.com/ajkovar/jquery-mobile into ajkovar-changepagefix 2011-02-01 21:36:24 -08:00
scottjehl
a763bade42 whitespace only 2011-02-02 00:33:53 -05:00