Commit graph

3179 commits

Author SHA1 Message Date
scottjehl
4fa2032789 quick fix to listview image selector to grab the first img of each LI, not the whole list. 2011-03-24 15:41:43 -04:00
Felipe Brahm
c25829a8a2 Bug fix: only apply thumb style if img tag is on the first level. This fixes the problem when you want multiple images on each li element, like a 5 star rating for each element for example. Now to add multiple images you just have to put them in a div. 2011-03-25 03:39:02 +08:00
cm71td
2f3b5b6543 Disabled buttons should get the ui-disabled class. I created a refresh() method to be consistent with other widgets. It checks if the underlying button is disabled and calls enable or disable. The refresh() method is called from _create. 2011-03-25 03:16:42 +08:00
John Bender
7d3642f3ab fixed init tests for ie 2011-03-24 09:46:13 -07:00
John Bender
ff4c74d5f9 fixed init tests for ie js failure 2011-03-23 22:42:16 -07:00
scottjehl
13a88bfd7b undid the changes in commit #a881ae79d7310e45294e 2011-03-24 01:11:45 -04:00
scottjehl
61005944d3 Added support for the target attribute on forms (such as target="_blank"). When set, the form handler simply allows the native handling to apply. Unlike anchors however, the rel attribute is not allowed on forms. If you're purely looking to submit a single form without ajax, you can use the data-ajax="false" attribute as well. Fixes #952 and docs updates are included 2011-03-24 00:59:42 -04:00
scottjehl
39476d151a added support for data-transition and data-direction on form elements. Fixes #1275 2011-03-24 00:45:15 -04:00
scottjehl
7b0fa3b48c If action attribute is undefined, default to path.get(). Fixes #766 2011-03-24 00:36:24 -04:00
scottjehl
acc771b046 make sure type is not a 0-length string, as it would be if left undefined in the markup. Fixes #766 2011-03-24 00:33:59 -04:00
scottjehl
e6095a357a if type attr is used from method attr, make sure it's lowercase first. Fixes #1280. Still needs a unit test but I'll need to think about how best to do it. 2011-03-24 00:30:26 -04:00
Ivan Rubanov
b35274a8a4 Fix for issue 1262 2011-03-24 07:33:46 +08:00
toddparker
f22b7c8395 Updates to rel="external" dialog docs 2011-03-23 12:44:24 -04:00
toddparker
a545e5d361 Merge remote branch 'origin/master' 2011-03-23 12:39:21 -04:00
toddparker
aad79e8a9a Added rel="external" example to the dialogs docs 2011-03-23 12:39:04 -04:00
Kin Blas
251a3c0add Merge branch 'master' into phonegap 2011-03-23 09:14:10 -07:00
Louy Alakkad
a881ae79d7 giving footer buttons an absolute postition 2011-03-23 23:56:06 +08:00
Kin Blas
4bf8519cce Merge branch 'data-namespacing' of https://github.com/jquery/jquery-mobile into ns
Resolved Conflicts:
	js/jquery.mobile.core.js
	js/jquery.mobile.forms.checkboxradio.js
2011-03-22 13:51:50 -07:00
Kin Blas
db89e1f24d Switch find/filter selector calls over to using the new :jqdata() pseudo selector. 2011-03-22 13:31:17 -07:00
jeresig
29c0471cca Make sure that the :jqdata() selector also works for filtered items. 2011-03-22 14:35:11 -04:00
John Bender
018609fa32 removed mass of duplication from core of functionality that was moved to init, fixed init tests 2011-03-22 00:26:24 -07:00
John Bender
7df9e245f4 test namespace additions and type fix for core 2011-03-21 23:36:32 -07:00
John Bender
e236484559 fixed checkbox radio refresh selector 2011-03-21 23:17:46 -07:00
Kin Blas
8c5faaf01d A better fix for the case where we have mismatched touch and mouse targets. 2011-03-21 17:09:18 -07:00
Kin Blas
e26601c438 Merge branch 'master' into fastclick 2011-03-21 12:28:58 -07:00
Kin Blas
08fa6a2ac8 Got rid of the if/else isExternal check because we need to make sure we check cross domain URLs against isRelExternal. 2011-03-21 10:32:24 -07:00
Alexander Wunschik
862c0119d9 Default cursor for listview deviders. Fixes #1244 2011-03-21 22:13:11 +08:00
John Bender
2d56e5c2fb whitespace in event_core tests 2011-03-21 01:40:31 -07:00
John Bender
5d75e3dfa7 fixed event tests 2011-03-21 01:27:50 -07:00
John Bender
e1098e06de fixed widget tests by including the library as a whole 2011-03-19 23:14:46 -07:00
John Bender
ff23f63881 moved the widget tests back under an immediate function 2011-03-19 23:12:55 -07:00
John Bender
3316e559b3 fixed order dependent tests in listview 2011-03-19 22:44:35 -07:00
John Bender
45183c186c fixed listview tests, refactor still necessary for the last test selectors 2011-03-19 22:29:53 -07:00
Kin Blas
2aab30b7a6 Initial changes to allow for cross-domain URLs to be loaded as pages within Phone Gap's web view. I still need to figure out how we're going to set the application URL hash for these cross-domain URLs, and allow for reloading the URL via deep links. 2011-03-18 17:53:06 -07:00
Kin Blas
6b7c82a1dc Updated the scrollupdate trigger call to pass an array for the data. Apparently trigger requires an array as its second argument if you want to pass data to a callback. 2011-03-18 13:37:22 -07:00
Kin Blas
7f8438e966 Merge branch 'master' into fastclick
Conflicts resolved:
	js/jquery.mobile.forms.select.js
2011-03-18 09:15:01 -07:00
Kin Blas
882c27c03f Tweaked the jqdata selector regexp so that it wasn't so greedy. This will allow for multiple jqdata() and other pseudo selectors that use parens withinthe same selector string. 2011-03-18 08:42:24 -07:00
John Bender
4fca8e6d21 removed console 2011-03-17 00:15:29 -07:00
John Bender
2202b0d76c fixed some listview tests, still some that are hanging on complex selectors 2011-03-17 00:14:32 -07:00
John Bender
9f53e4e403 added mobile ns, jqdata was throwing an exception 2011-03-17 00:13:48 -07:00
John Bender
a40a181677 fixed bug in widget that caused them to ignore data attribute as options 2011-03-17 00:06:10 -07:00
John Bender
fe754ed298 fixed first three tests to be independent of order 2011-03-16 23:00:02 -07:00
John Bender
4959548698 fixed init core tests to represent init functionality 2011-03-16 22:31:22 -07:00
Kin Blas
fe8e13c9a9 Added code to deal with touch and mouse event target mismatches. This happens most often when the user touches a link, but his/her finger overlaps the link and areas outside of the link. In this specific case, the browser will generate touch events with a target that is the parent or ancestor of the link, but it will then generate mouse events with a target that is the link itself. We now catch this case and re-enable the mouse bindings so we can dispatch our virtual events appropriately. 2011-03-16 09:30:40 -07:00
John Bender
5349e5876b fixed some failing listview tests 2011-03-16 00:07:26 -07:00
John Bender
4126fbd29b fixed last failing tests after merge in init tests 2011-03-15 23:58:22 -07:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
toddparker
b3cfe8778f Added documentation on how to disable Ajax form submission via data- attribute and gloabl config. 2011-03-15 19:21:27 -04:00
scottjehl
143a8df256 less padding on select menu titles. Credit goes to oiva (Oiva Eskola). Thanks! 2011-03-15 19:04:58 -04:00
scottjehl
09ffa3aa5f Clarified data-ajax=false on forms. Fixes #1134 2011-03-15 18:49:39 -04:00