Ghislain Seguin
9ce232f42a
Merge pull request #3497 from jakeboone02/global-config-loading-sequence
...
Fixed remaining loading sequence issues for global config tests
2012-01-28 10:13:06 -08:00
Jake Boone
e6b685d017
Fixed remaining loading sequence issues for global config tests
2012-01-28 11:31:03 -05:00
Ghislain Seguin
e37c7e9bf5
Moved RequireJS plugins to external/requirejs
2012-01-27 23:36:42 -08:00
Ghislain Seguin
b15815d5d8
Ensure module paths are relative
2012-01-27 23:27:13 -08:00
Ghislain Seguin
02c45dfe19
Fixed loading sequence
2012-01-27 23:26:13 -08:00
Ghislain Seguin
c000625372
Updated to RequireJS 1.0.5
2012-01-27 23:15:18 -08:00
Ghislain Seguin
2deb132a4f
Fixed meta-module for docs
...
Moved dependency on jquery.mobile from jqm-docs to jquery.mobile.docs
Use order! plugin to ensure that jquery.mobile gets executed (dumped) first
Added pragmas around the jqm-docs define
2012-01-27 23:14:02 -08:00
John Bender
e74eeda398
default to core 1.7.1 in the deploy of the demo
2012-01-27 08:05:28 -08:00
scottjehl
4523bb241b
Undoing one of my earilier changes to remove a jump-to-top that commonly happened at the start of transitions,
2012-01-27 20:39:07 +07:00
scottjehl
a2bfc27492
Implemented and documented the tapToggleBlacklist option of the fixedtoolbar plugin, which tells the plugin to ignore certain targets for tap toggling the toolbars. The default list is "a, input, select, textarea, .ui-header-fixed, .ui-footer-fixed".
2012-01-27 19:34:14 +07:00
scottjehl
5ef03c8474
Merge remote branch 'origin/master'
2012-01-27 18:43:27 +07:00
scottjehl
8232059164
Added an optional 1.0-style loading box design, configurable via a new loadingMessageTextVisible option, which defaults to false for regular loading messages, but is true for internal error messages. In order to support this change, the show loader method was modified with 3 arguments: theme, text, and text-only. Other new core options have been added to configure the theme for default and error message boxes: loadingMessageTheme and pageLoadErrorMessageTheme.
2012-01-27 18:42:22 +07:00
John Bender
beaf693c23
use jquery min for deploy build
2012-01-26 12:41:25 -08:00
John Bender
45b71e1a88
Makefile whitespace
2012-01-26 12:41:25 -08:00
Ghislain Seguin
d3911f1209
Merge pull request #3475 from jasondscott/issue_1524
...
Issue #1524 - Taphold event fired while scrolling on Blackberry Playbook
2012-01-26 11:42:04 -08:00
John Bender
5c0429463a
TODO update jquery version in tag replace
2012-01-26 08:20:32 -08:00
scottjehl
45eb085167
ensure that fullscreen toolbars do not animate in when the page is first shown
2012-01-26 17:24:23 +07:00
scottjehl
82ddbf1318
Merge remote branch 'origin/master'
2012-01-26 17:07:26 +07:00
scottjehl
967a374cd3
updated documentation on the new fixedtoolbar plugin.
2012-01-26 17:02:16 +07:00
scottjehl
bb62031cc3
added support for the updatelayout event, so that fixed toolbars can be manually updated through this event alongside other plugins that subscribe to it.
2012-01-26 16:21:02 +07:00
scottjehl
bb17f146e4
added an argument to the show and hide methods to specify that no transition should be used, regardless of the default transition type. This is now used on pageshow, so the toolbar does not use an animated transition when the page is initially shown.
2012-01-26 16:06:44 +07:00
scottjehl
ee0573e7d2
set the default toolbars transition to slide, because it looks kinda nice
2012-01-26 15:18:33 +07:00
scottjehl
82ed98cffc
some edits to make sure proper classes are toggled for the slide transition to work, if it's set.
2012-01-26 15:16:52 +07:00
scottjehl
8aaa1c9420
fixed up the unit tests to ensure the disablePageZoom option works as expected
2012-01-26 14:59:43 +07:00
scottjehl
893508710a
renamed togglePageZoom option disablePageZoom
2012-01-26 14:26:26 +07:00
scottjehl
716bf7f45d
removed ability to set "fullscreen" on the page itself. Instead, this should be set on the fixed toolbar elements.
2012-01-26 12:18:00 +07:00
Ghislain Seguin
022b75d111
Added comment
2012-01-25 21:05:02 -08:00
Ghislain Seguin
e1d98a7e1b
Removed use of order! plugin
2012-01-25 20:54:16 -08:00
scottjehl
e307d9f66b
updated platform support to include Bada and UCweb.
2012-01-26 11:46:14 +07:00
scottjehl
8ba1506510
removed the converter experiment
2012-01-26 10:49:16 +07:00
scottjehl
3c07beffad
removed the google maps experiment
2012-01-26 10:49:02 +07:00
scottjehl
9732110552
removed the weather experiment
2012-01-26 10:48:17 +07:00
Ghislain Seguin
5062e566b8
Fixed version string in built bundles (docs and main)
2012-01-25 16:52:16 -08:00
Ghislain Seguin
e78c5ccf8b
Added exclusions for the docs bundle
2012-01-25 16:51:39 -08:00
Ghislain Seguin
b467dfb536
Revert unwanted change use rhino to run JavaScript
2012-01-25 16:34:35 -08:00
Ghislain Seguin
5ced7f81cd
Added AMD text plugin
2012-01-25 15:36:49 -08:00
Ghislain Seguin
ae835d0af1
Fixes #3479
...
Added $.mobile.version
2012-01-25 15:21:02 -08:00
Ghislain Seguin
b08ff1ec6a
Removed extra newline
2012-01-25 15:21:01 -08:00
John Bender
227530a107
remove redundant compile output cleaning
2012-01-25 14:49:55 -08:00
toddparker
e47a74dd90
Changed version flag to say "1.x Unstable" on master homepage
2012-01-25 14:58:17 -05:00
scottjehl
72b0d46dff
Added updatePagePadding option to automate the use of the updatePagePadding method, with a default value of true. When true, this method calls the updatePagePadding method on webkitAnimationStart, animationstart, pageshow, and throttledresize. The animation events catch the page before it transitions in, whereas pageshow event serves the purpose of catching the page when animations are not in play, or when there's no FROM page that you're transitioning from. Lastly, the throttledresize event updates the value on resize.
...
This method still needs unit test coverage. Fixes #3484
2012-01-25 22:15:40 +07:00
scottjehl
9381ae8f09
this seems to be a little better on repaints.
2012-01-25 21:12:23 +07:00
scottjehl
99db3d039f
Merge remote branch 'origin/master'
2012-01-25 18:26:57 +07:00
scottjehl
699001a3c6
Added an experimental "updatePagePadding" method, which allows developers to adjust the page element's padding to accommodate a taller toolbar, so there is no overlap.
...
Addresses Issue #3484
Caveats:
- This method must be called when the toolbar is visible, meaning you'll see a visible jump when a page is shown. For this reason, I'm hesitant to recommend this feature. It would be a lot smoother to set the page padding in a custom CSS file to make up for whatever EM height your toolbars happen to be.
- Height is set in Pixels, meaning changes in font size could render it inaccurate. If we want to set height in ems, we'll need to add an em conversion utility function to jQM.
- To ensure it works properly, this method will need to be called on page show, and at any time a content reflow might occur: resize, orientationchange, zoom?
This method is not currently called automatically.
It can be called like this: $(".ui-header-fixed").fixedtoolbar( "updatePagePadding" );
2012-01-25 18:26:04 +07:00
scottjehl
544cdb49d6
if the option to disable page zoom on pages that contain a fixed toolbar is true, the plugin needs to use the lock to prevent other plugins from enabling zoom again while the page is in view. Fixes #3477
2012-01-25 17:39:13 +07:00
scottjehl
56607b946c
this dependency is already in the define statement, which should be enough
2012-01-25 17:32:51 +07:00
scottjehl
b39c320bec
preventFocusZoom default is true on iOS platforms, false otherwise, as it is only here to address an iOS bug.
2012-01-25 17:28:25 +07:00
scottjehl
f5260ab9e5
exclude non-iOS platforms from this behavior
2012-01-25 17:24:53 +07:00
Ghislain Seguin
271beeefb0
Merge pull request #3485 from jrburke/amd-relative
...
Update to relative AMD dependencies
2012-01-24 15:33:21 -08:00
jrburke
096e90bbfe
Update to relative AMD dependencies, allows proper use of source in an AMD project.
2012-01-24 14:43:24 -08:00
scottjehl
40c400d657
Merge remote branch 'origin/master'
2012-01-24 17:34:20 +07:00
scottjehl
f9d7ff95a7
removed unused function in tests
2012-01-24 17:31:07 +07:00
scottjehl
9da89ff6db
modified so that the select zoom calls manipulate the locked property, to ensure other zoom plugins don't mess with it during focus
2012-01-24 17:31:07 +07:00
scottjehl
6e12e62123
namespaced the events.
2012-01-24 17:31:07 +07:00
scottjehl
94a9b24567
added the locked property, with options to lock and unlock it when calling disable or enable, respectively. This allows a plugin to take control and ensure zoom isn't messed with while it's carrying out a zoom-specific task
2012-01-24 17:31:07 +07:00
scottjehl
edad9c1f9a
window not w, evt wasn't defined. Thanks @staabm
2012-01-24 17:31:06 +07:00
scottjehl
5725b4bac9
updated to bulletproof further
2012-01-24 17:31:06 +07:00
scottjehl
6cee30d22c
updated to use only the devicemotion event, for compatibility and less battery battering
2012-01-24 17:31:06 +07:00
scottjehl
460ad7197c
This change brings the iOS orientationchange bug workaround up to the latest code from that external project, with an experimental attempt at iOS4.3 support on the 3GS using the devicemotion event, which may be a bad idea to use unthrottled - not sure yet. This code needs to be tested on a device with iOS5, and I imagine the check for deviceorientation will also need a check for the value of evt.gamma. At that point, we may decide to only support iOS5 for this workaround, and the code can bind only to deviceorientation and be more concise.
2012-01-24 17:31:06 +07:00
scottjehl
4e2c8ef2a3
added unit tests for prevent focus zoom option
2012-01-24 17:31:06 +07:00
scottjehl
3a9c22eacc
switched up this check so it binds the events regardless of initial state, in case it's toggled later
2012-01-24 17:31:06 +07:00
scottjehl
ae726d2d45
added files to index php
2012-01-24 17:31:06 +07:00
scottjehl
b7549b213c
moved the iosfocusfix logic over to the selectmenu plugin. It's now toggled via a new option: preventFocusZoom (Default is true).
2012-01-24 17:31:06 +07:00
scottjehl
6077668af4
added a restore method, similar to a widget's destroy. Restores the meta content back to original value
2012-01-24 17:31:06 +07:00
scottjehl
5fcf89e0d9
added unit tests for the zoom plugin
2012-01-24 17:31:05 +07:00
scottjehl
db453434a8
use maximum scale instead of user-scaling, as it's more reliable for restoring zoom
2012-01-24 17:31:05 +07:00
scottjehl
79b1979177
fixed up the unit tests so that they only test the plugin's usage of the zoom methods, not the result of whether those methods are working
2012-01-24 17:31:05 +07:00
scottjehl
29373214c6
added zoom dependency and removed internal handling of page zoom enable/disable, opting to use the zoom plugin methods instead
2012-01-24 17:31:05 +07:00
scottjehl
75214550b1
added meta viewport tag
2012-01-24 17:31:05 +07:00
scottjehl
b07bab7b51
fixed a duplicate listing
2012-01-24 17:31:05 +07:00
scottjehl
66be09d2de
A new utility: $.mobile.zoom, which as 3 members: enabled [bool], disable [function], and enable [function].
...
This simple utility is used to disable user scaling in devices like iOS. The disable() method disables user-scaling. The enable() method enables user-scaling. The enabled property keeps track of state.
Two other utilites are included here as well.
First, there's zoom.iosfocusfix.js, which disables zoom as a select or input element is focused, preventing iOS from zooming into that element and cropping the viewport. Zoom is restored just after the focus event fires (a half second timeout).
Then there's zoom.iosorientationfix.js, which is intended to fix the iOS orientationchange zoom bug, following the approach from this project https://github.com/scottjehl/iOS-Orientationchange-Fix . This may not be working yet. Needs testing, and it may require that we change the values of the meta content to use maximum-scale instead of user-scalable.
Lastly, fixedtoolbar, once it lands, should use this utility to disable/enable zoom, rather than the one that's currently included in its own source.
2012-01-24 17:31:05 +07:00
Jason
a215d4c13e
Issue #1524 - Fixing style - Missing white space
2012-01-23 20:00:54 -05:00
Mat Marquis
e7250070d1
Added moz-prefixed transition for slider handle.
2012-01-23 17:27:32 -05:00
Mat Marquis
201058bc90
Cached window in show/hide functions, since I was in the neighborhood.
2012-01-23 15:54:08 -05:00
Jason
92cf8d62c4
Issue #1524 - Taphold event fired while scrolling on Blackberry Playbook
...
Cause: The vmousecancel event was not being fired for 'this'.
How Fixed: Bound vmousecancel event to document instead of 'this'.
How Tested: Ran the example provided with the issue
(http://jsbin.com/oruhu4/ ) with this change on BlackBerry Playbook v2.0
and iPad iOS 5.0.1
2012-01-23 15:44:33 -05:00
Ghislain Seguin
1609ea10e7
Changed input file for css structure to static string: jquery.mobile.structure
2012-01-23 15:43:46 -05:00
Ghislain Seguin
e42c7025e5
Use jquery.mobile.structure.css instead of the list all the individual
2012-01-23 15:43:46 -05:00
Ghislain Seguin
235f39b6a7
import jquery.mobile.structure.css instead of all the individual files
2012-01-23 15:43:46 -05:00
Ghislain Seguin
ddaab10c59
Created jquery.mobile.structure.css which contains the structure css files
2012-01-23 15:43:45 -05:00
scottjehl
7f2e50430e
fixed the fixed toolbar tap toggle. Footers weren't moving to bottom. This line was outta line
2012-01-23 23:47:08 +07:00
scottjehl
c71ae9da12
z-index no longer required during transitions
2012-01-23 21:29:42 +07:00
Ghislain Seguin
9f3c58caf6
Moved the conditional define call within a document.write
2012-01-22 23:15:59 -08:00
Ghislain Seguin
eadf804d4b
define jquery module if loading jQuery < 1.7
2012-01-22 23:15:47 -08:00
Ghislain Seguin
079324cf56
Use jQuery tag inserter instead of pointing directly at jquery.js
2012-01-22 23:15:30 -08:00
Ghislain Seguin
9febd86e55
Use jQuery tag inserter instead of pointing directly at jquery.js
2012-01-22 23:14:38 -08:00
Ghislain Seguin
9ffedb700b
Added a script tag inserter to be able to pick jQuery with a url param
2012-01-22 23:14:23 -08:00
Ghislain Seguin
ca50119068
Added jQuery 1.7.1
2012-01-22 23:13:50 -08:00
Ghislain Seguin
bb6ce5195e
Added jQuery 1.6.4
2012-01-22 23:13:31 -08:00
Ghislain Seguin
c5dd70970c
Variableized the JavaScript runner
2012-01-20 23:05:03 -08:00
toddparker
8f636e5699
Removed all instances of data-position="inline" in headers
...
This is a throwback to when we used to have fixed toolbars by default.
Removing to avoid confusion.
2012-01-20 12:46:42 -05:00
Ghislain Seguin
229d50e872
Remove unnecessary order! plugins
2012-01-20 09:36:04 -08:00
Ghislain Seguin
fe29c2adf7
Moved the pagecreate handler registration for controlgroups to the init IIFE so it's executed after all required widgets have registered theirs
2012-01-20 09:35:36 -08:00
toddparker
b0d261ebe0
Switched from line-height to text-indent to accessibly hide buttons. Fixes #1927
...
Was causing an vertical scroll bar to appear in FF9 if a button at the
end of the content div is disabled / enabled. Changed '''line-height:
999px''' to '''text-indent: -9999px'''. Thanks n0v1!
2012-01-19 17:34:57 -05:00
Josh Dean
ba9d5a47e5
Added test for issue #3141
2012-01-19 09:26:33 -08:00
Josh Dean
a23f0d3a0e
Update to buttonMarkup to use appropriate data selector
2012-01-19 09:20:05 -08:00
Ghislain Seguin
e4453aceb4
Save the fixture after the enhancement, then start
2012-01-18 23:12:37 -08:00
Ghislain Seguin
0a81d6d463
Merge pull request #3441 from imjoshdean/fix-3351
...
Fix to #3351 , dialogs reopening when attempting to close them
2012-01-18 16:09:26 -08:00
Ghislain Seguin
ed124bf237
Merge pull request #3442 from imjoshdean/master
...
Bug fix for #3141 : Prevent inputs with unnecessary data-role button from being double enhanced
2012-01-18 15:59:41 -08:00
Ghislain Seguin
96d339eee2
Added fixed toolbar stylesheet
2012-01-18 15:09:26 -08:00
Ghislain Seguin
0c997501ac
Removed @import statement, they belong in jquery.mobile.css
2012-01-18 15:08:48 -08:00
Ghislain Seguin
8fe6483e64
Removed @import for jquery.mobile.headerfooter.css
2012-01-18 15:07:31 -08:00
Ghislain Seguin
1d1b601947
Merge pull request #3451 from eddiemonge/caching
...
Show me the cache
2012-01-18 13:59:36 -08:00
Ghislain Seguin
1950602dcb
Switched to using AMD loader and $.testHelper.reloadModule instead of $.testHelper.reloadLib
2012-01-18 11:11:35 -08:00
John Bender
2034c3607e
update button markup test to use the fixed toolbar
2012-01-18 10:48:14 -08:00
scottjehl
8b20b6a50e
added unit tests for new fixedtoolbar plugin
2012-01-19 00:19:36 +07:00
scottjehl
d6d606a212
fixed the slider z index to prevent conflicts with toolbar
2012-01-19 00:19:20 +07:00
scottjehl
f00e3a1164
added new fixedToolbar plugin (its matching css is already in from the previous messy merge). Docs page is updated to match the new preferred syntax (no changes in API, however)
2012-01-19 00:19:06 +07:00
scottjehl
a4b7673c12
defined touchOverflowEnabled in core
2012-01-19 00:17:40 +07:00
scottjehl
a5fd5f235e
removed files for previous fixed toolbars implementation
2012-01-19 00:15:27 +07:00
scottjehl
c3b2d7963b
removed internal use of the touchOverflowEnabled flag. It'll remain defined until next major release, however. Now in core.
2012-01-19 00:15:09 +07:00
scottjehl
da964300dc
removed disable zoom function from init
2012-01-19 00:13:13 +07:00
John Bender
f2802bdc65
reverted fixed toolbar merge, there are some issues with the branch that need to be addressed
2012-01-17 21:46:28 -08:00
Eddie Monge
7bee003ad9
Show me the cache
2012-01-17 16:03:38 -08:00
John Bender
ca0c1a9c61
fix test errors relying on require after switching back to synchronous load
2012-01-17 15:07:55 -08:00
John Bender
90b0f9ace3
use helper method to get page data to prevent dialog failures
2012-01-17 14:39:10 -08:00
Mat Marquis
86fd94288a
Fixes #3448 — Added missing .
2012-01-17 17:16:23 -05:00
Mat Marquis
806e27d675
Additional meta information (grouping/required).
2012-01-17 14:05:23 -05:00
John Bender
461469e366
fix transition tests for older versions of firefox
2012-01-17 09:11:26 -08:00
John Bender
020f4b7db6
seperate transition tests, whitespace
2012-01-17 09:11:26 -08:00
scottjehl
57338ef99c
filename
2012-01-18 00:06:56 +07:00
scottjehl
5704f4c12a
Moved a rule to fixedToolbar.css
2012-01-18 00:06:47 +07:00
scottjehl
5d30cdb50d
Merge remote branch 'origin/master'
2012-01-18 00:06:18 +07:00
scottjehl
57af436ab6
Merge branch 'fixedtoolbar'
...
Conflicts:
Makefile
css/structure/index.php
css/structure/jquery.mobile.core.css
css/structure/jquery.mobile.forms.slider.css
css/structure/jquery.mobile.transitions.fade.css
css/themes/default/jquery.mobile.css
css/themes/default/jquery.mobile.theme.css
docs/pages/page-transitions.html
js/jquery.mobile.core.js
js/jquery.mobile.define.js
js/jquery.mobile.docs.js
js/jquery.mobile.fixHeaderFooter.js
js/jquery.mobile.fixHeaderFooter.native.js
js/jquery.mobile.forms.button.js
js/jquery.mobile.forms.select.custom.js
js/jquery.mobile.init.js
js/jquery.mobile.js
js/jquery.mobile.navigation.js
js/jquery.mobile.support.js
js/jquery.mobile.transition.flip.js
js/jquery.mobile.transition.flow.js
js/jquery.mobile.transition.js
js/jquery.mobile.transition.pop.js
js/jquery.mobile.transition.slide.js
js/jquery.mobile.transition.slidedown.js
js/jquery.mobile.transition.slideup.js
js/jquery.mobile.transition.turn.js
tests/jquery.testHelper.js
tests/unit/listview/listview_core.js
tests/unit/support/index.html
2012-01-18 00:05:45 +07:00
scottjehl
c4df92203d
required core and now unit tests are passing again
2012-01-17 12:34:47 +07:00
scottjehl
8e9ad05507
updated unit test page to use require loader
2012-01-17 12:28:06 +07:00
toddparker
f53ac0da7f
Speedier transition timing
...
Also added duration to some rules to tweak timing and make them more
reliable
2012-01-16 23:41:37 -05:00
Josh Dean
240505a433
Fix to #3351 , dialogs reopening when attempting to close them
2012-01-16 18:38:58 -06:00
Josh Dean
fcbc042e84
Prevent inputs with unnecessary data-role button from being double enhanced
2012-01-16 18:23:14 -06:00
toddparker
956075cbff
Faster fade in (225ms vs 300) and out (100ms vs 150) to see if this feels snappier.
2012-01-16 18:26:52 -05:00
toddparker
1f5fcda09d
Moved all the custom CSS transition code into the custom file to make the transition page simpler
2012-01-16 18:17:45 -05:00
Mat Marquis
2c34b82e69
Merge pull request #3398 from garann/master
...
fix for duplicate/incorrect enhancement of buttons
2012-01-16 15:04:56 -08:00
Mat Marquis
bd0bdfd77e
Removed fixed header/footer on transition pages that was previously causing Android to render box-shadows incorrectly/sulk in the corner; created separate page for custom transition documentation.
2012-01-16 17:51:11 -05:00
Mat Marquis
0172ff88d7
Setting .ui-mobile/.ui-mobile to height: 99.9% prevents a vertical scrollbar on dialog pages, in Firefox.
2012-01-16 16:07:37 -05:00
John Bender
f4faec7872
temprorary fix for failing checkbox radio test
2012-01-13 16:22:37 -08:00
Mat Marquis
d2fa7e214a
Added meta info to jQuery Core file.
2012-01-13 17:31:35 -05:00
John Bender
5c1fc9540b
guarantee the page reset in the listview tests has completed before continuing
2012-01-13 14:28:50 -08:00
Mat Marquis
877599dd6c
Added meta information for download builder.
2012-01-13 17:27:58 -05:00
Mat Marquis
6e8fb254a6
Updated and DRY’d transition/3D-transform support tests for Firefox.
2012-01-13 15:49:21 -05:00
John Bender
e5d1b11328
switched init tests to new default css
2012-01-13 12:25:33 -08:00
John Bender
8debe792e0
switched to new default css with imports in select cached tests
2012-01-13 12:22:02 -08:00
John Bender
67ae0eb0bc
use the first dialog in a document as a page when no pages exist Fixes #3275
2012-01-13 10:55:28 -08:00
John Bender
2f464dd865
add test to confirm that a document containing only a dialog with no pages will load the dialog as a page
2012-01-13 10:55:28 -08:00
jblas@adobe.com
24b01c7268
Added an index page for the tools directory so we can use the tools directly off the jquerymobile.com site without having to remember the name of the file for a given tool.
...
Note that all links in the index are rel="external" because some of the tool pages need to run JS to set paths, properly.
2012-01-13 10:38:23 -08:00
Ghislain Seguin
d04054b6fd
Added @jrburke's version of reloadModule that undefines the module in RequireJS's cache so we can reload it
2012-01-13 10:04:55 -08:00
Ghislain Seguin
7c7e6f2578
Backed out AMD changes to support test suite until we figure out how to make it stable
2012-01-13 09:23:45 -08:00
Ghislain Seguin
c84107875c
Fixes #3429
2012-01-13 08:12:35 -08:00
scottjehl
606bfe5f8e
removed all internal usage of the touch overflow support test and enabled flag. Still leaving both defined, however.
2012-01-13 20:11:52 +07:00
scottjehl
372b61f467
added deprecated definition of touchOverflowEnabled. this will no longer be used, but we're leaving it defined for a while
2012-01-13 20:10:35 +07:00
scottjehl
d863697773
moved a non-fixed-toolbars rule back to core
2012-01-13 19:55:08 +07:00
scottjehl
e7cc245ee1
renamed files to plugin name
2012-01-13 19:53:13 +07:00
scottjehl
91cffd3e85
added the AMD enclosure
2012-01-13 17:44:07 +07:00
scottjehl
4356e578a0
bring z-index down to 1, to prevent competition with fixed toolbars
2012-01-13 17:35:48 +07:00
scottjehl
2f99c8a9b5
use existing elem instead of creating a new one.
2012-01-13 17:33:17 +07:00
Ghislain Seguin
268aab2344
Reverted to the old way (without RequireJS) until we find a way to make it work with RequireJS
2012-01-13 17:33:17 +07:00
Ghislain Seguin
7b673bda8d
Hopefully made the event tests a little happier
2012-01-13 17:33:17 +07:00
Ghislain Seguin
ee51875f1a
Added jQuery as a param to the define shim
2012-01-13 17:33:17 +07:00
Ghislain Seguin
038b0ee298
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-13 17:32:26 +07:00
Ghislain Seguin
1ad31620ed
Added dependency on jquery.mobile.transitions
2012-01-13 17:32:26 +07:00
jrburke
befdd49643
Move require.js to first tag so it can catch jquery module registration, otherwise jquery may be loaded twice.
2012-01-13 17:32:26 +07:00
Ghislain Seguin
9b0e263248
Fixed closing pre tag
2012-01-13 17:32:26 +07:00
Ghislain Seguin
d97bc7dba1
Fixed closing p
2012-01-13 17:32:26 +07:00
Ghislain Seguin
1e0f481154
Removed stray anchor before doctype
2012-01-13 17:32:25 +07:00
Ghislain Seguin
095053ee07
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-13 17:32:25 +07:00
Ghislain Seguin
e64c02de8e
Added dependency on jquery
2012-01-13 17:32:25 +07:00
Ghislain Seguin
ba1d5549d7
Added wrapper and pragmasOnSave
2012-01-13 17:31:29 +07:00
Ghislain Seguin
1a58e2ae37
Added wrapper to export as an AMD modules
...
removed jquery.mobile.exports
2012-01-13 17:31:29 +07:00
Ghislain Seguin
b33c4fb815
Removed unused app.build.js
2012-01-13 17:31:29 +07:00
Ghislain Seguin
ff95a53874
Added prepending of version licensed to jquery.mobile.docs.js and jquery.mobile.css
2012-01-13 17:31:29 +07:00
Mat Marquis
16c829ec26
Comment typo, made a TODO about globalizing the testing method added in the previous commit.
2012-01-13 17:31:29 +07:00
Mat Marquis
971ee484d3
Fixes a false positive for 3D transform support on Android 2.3 (possibly others).
2012-01-13 17:31:29 +07:00
Ghislain Seguin
3c74db1c03
Don't know why that r.js was there in the first place
2012-01-13 17:31:29 +07:00
Ghislain Seguin
716fe684d1
Rewrote "docs" target to take advantage of r.js' whole project optimization added build profile docs.build.js
2012-01-13 17:31:29 +07:00
Mat Marquis
f269788492
Fixes #2553 — Addresses issue where underlying checkboxes/radio buttons were not being updated when enhanced buttons were clicked.
2012-01-13 17:31:29 +07:00
Eddie Monge Jr
8801237429
add docs back to the latest build target
2012-01-13 17:31:28 +07:00
Ghislain Seguin
75e43f3d39
Finished merging branch 'out-in-transition', I had trailing commas in there instead of semi-colons
2012-01-13 17:31:28 +07:00
Ghislain Seguin
810696b2ba
AMDized transition code
2012-01-13 17:30:51 +07:00
scottjehl
d4f0a024fc
combined redundant syntax
2012-01-13 17:30:51 +07:00
scottjehl
d72397daa0
added the timing durations to the transitions themselves
2012-01-13 17:30:51 +07:00
scottjehl
c97d708bec
fixed some typos where webkit needed to be moz
2012-01-13 17:30:50 +07:00
scottjehl
3bb06691f1
fix up dialog presentation - headers were busted
2012-01-13 17:30:50 +07:00
scottjehl
ef8332071a
no bg image/gradient on ui-overlay
2012-01-13 17:30:50 +07:00
scottjehl
ce3b892c5f
removed old link
2012-01-13 17:30:50 +07:00
scottjehl
8fda621da9
added missing files
2012-01-13 17:30:50 +07:00
scottjehl
1507d51c98
no longer need this class addition
2012-01-13 17:30:50 +07:00
scottjehl
fbd5e2b77a
code style
2012-01-13 17:30:50 +07:00
scottjehl
967834d6b2
CSS for ui-overlay-x applies to container now too - removed double class
2012-01-13 17:30:50 +07:00
scottjehl
eac0b7d3c7
class name was body instead of overlay. Fixed
2012-01-13 17:30:49 +07:00
toddparker
6438b3423a
Removed blurb about shutting off transitions over 1,000 pixels
2012-01-13 17:30:49 +07:00
toddparker
c4cbf8e7f1
Tweaked max width blurb to match the "false" default to avoid confusion
2012-01-13 17:30:49 +07:00
toddparker
a6dc847474
SetScrollBack to 10 (from 250), CSS tweaks to table
2012-01-13 17:30:49 +07:00
toddparker
a6b090d15c
Re-vamp of transition button design, added page demos
...
Added a new page to contrast the dialog vs. page transitions. Page has
fixed toolbars and form elements to really stress the transitions.
Switched to a table design with a button for dialog and page for each
transition.
2012-01-13 17:30:49 +07:00
toddparker
97ff127a1c
Turned maxTransitionWidth to false by default
...
Useful for testing, we may set this back to a value once we've seen
more feedback. Improved the comment a bit.
2012-01-13 17:30:49 +07:00
Mat Marquis
b52551d9a3
Updated 3d transform test to accomodate FF10.
2012-01-13 17:30:49 +07:00
Mat Marquis
733bda9a04
Removed reference to themeswitcher JS docs-wide.
2012-01-13 17:30:48 +07:00
Mat Marquis
930d69ab37
Removed themeswitcher in docs.
2012-01-13 17:30:48 +07:00
scottjehl
f7aa71d423
if there's an overlay theme, we're going to remove it from the page container. First though, check that the incoming page isn't a dialog with the same overlay theme. If so, don't remove the class, as it'll remove it for the next one too
2012-01-13 17:29:42 +07:00
scottjehl
473802e26e
don't append themeswitcher to the dialogs - updated now that the dialog markup changed
2012-01-13 17:29:42 +07:00
scottjehl
7b9d2920d2
removed the sample link to the delayed-load page. no longer needed
2012-01-13 17:29:42 +07:00
scottjehl
bdc400bbeb
added some unit tests for maxTransitionWidth option
2012-01-13 17:29:42 +07:00
scottjehl
54aee8cb65
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-13 17:29:42 +07:00
scottjehl
4f12d46945
By caching the href value to data and switching the href to a #, we can avoid address bar showing in iOS on every click. The click handler resets the href during its initial steps if this data is present. Note that the address bar will still likely drop down when you click the browser's back button. The only time the back button will not drop the address bar appears to be when the back button does not trigger a pushstate operation - so pushstate would either have to be disabled, or the page would have to be local (multipage), or the page would need to be a dialog (since then going back would only be a hashchange).
...
Still, progress.
2012-01-13 17:29:41 +07:00
scottjehl
a9cd92a978
special case for dialogs - the theme class will apply to the page container when a dialog is shown, and that class will be removed when the dialog is hidden. This allows the transition to appear to affect only the inset window portion of the dialog page.
2012-01-13 17:29:41 +07:00
Ghislain Seguin
9ffabcce33
Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php
2012-01-13 17:29:41 +07:00
Ghislain Seguin
ba6ad1d07a
Have index.php serve the right file, this is deprecated and should be removed before 1.1 release
2012-01-13 17:27:57 +07:00
Ghislain Seguin
de37fbe615
Ported 148cb09132 to valencia theme
2012-01-13 17:27:57 +07:00
Todd Parker
4f5ecb06e2
Missing a 0, thanks @agcolom!
2012-01-13 17:27:57 +07:00
Ghislain Seguin
b675d0ff8d
Changed source CSS file for css bundle following bac53cf151
2012-01-13 17:27:56 +07:00
Mat Marquis
b815db5f76
Updated docs’ CSS to use new @import scheme.
2012-01-13 17:27:56 +07:00
Mat Marquis
eeb93c97d1
Single CSS concat file using @import, rather than the PHP concat.
2012-01-13 17:27:56 +07:00
Anne-Gaelle Colom
ead617f79a
Added clarification to the Back button, Fixes #3291
2012-01-13 17:27:56 +07:00
Ghislain Seguin
7bd9e6c3a9
Updated CSS path to default/jquery.mobile.theme.css so it doesn't pick up the index.php
2012-01-13 17:27:56 +07:00
Mat Marquis
d1663f1373
Added page turning transition.
2012-01-13 17:27:56 +07:00
John Bender
eb9e113911
fix timing issue where the pushstate plugin expected popstate generated hashchanges to happen before a given timeout
2012-01-13 17:27:56 +07:00
Mat Marquis
cb84e13148
Fixed theme CSS inclusion on docs index.
2012-01-13 17:27:55 +07:00
toddparker
39759f0dfb
Removed setDefaultTransition in docs.js
...
This isn't needed anymore.
2012-01-13 17:27:55 +07:00
toddparker
3099ff01a2
Added docs to cover the new transitions
2012-01-13 17:27:55 +07:00
toddparker
89442ef551
Whitespace
2012-01-13 17:27:55 +07:00
Chetan K Jain
44177ba3d7
fixes #3400
2012-01-13 17:27:55 +07:00
toddparker
36632aa594
Added in drop shadow on pages in "flow" transition, adjusted timing to be longer
2012-01-13 17:27:55 +07:00
scottjehl
2600aa9eb7
rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now!
2012-01-13 17:27:55 +07:00
scottjehl
2ba3842997
removed old commented out code
2012-01-13 17:27:55 +07:00
scottjehl
56af997812
moved the hide loader call back to nav again
2012-01-13 17:27:54 +07:00
scottjehl
abe0571b73
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-13 17:27:54 +07:00
scottjehl
da9cbcf162
added reference to flow transition fallback
2012-01-13 17:27:54 +07:00
scottjehl
df35552be6
one too many transition js refs
2012-01-13 17:27:54 +07:00
scottjehl
f2e4aa525f
added fallback transition for flow
2012-01-13 17:27:54 +07:00
scottjehl
b742b97441
better check for supporting fallback
2012-01-13 17:27:54 +07:00
scottjehl
2520307036
pulled out the 3D madness
2012-01-13 17:27:54 +07:00
scottjehl
5e862b60ba
changed up the timing and origin
2012-01-13 17:27:54 +07:00
scottjehl
43b5537d5b
added an experimental 3D transition, "flow"
2012-01-13 17:27:54 +07:00
scottjehl
af02f7e589
removed rotate transition from concat files and docs
2012-01-13 17:27:54 +07:00
scottjehl
9bfa7d2de1
better comment
2012-01-13 17:27:54 +07:00
scottjehl
a3e776297e
implemented fallback transition definitions for non-3D-supporting browsers, for all transitions except "fade". By default, these are all set to fall back to "fade", and they'll fall back to "none" if 3D is unsupported and no fallback is defined. They can be overridden at mobileinit, like any other jQM default.
2012-01-13 17:27:53 +07:00
scottjehl
a237c5f2e1
removed the experimental rotate transition
2012-01-13 17:27:53 +07:00
scottjehl
984edf8cc7
split the slide transitions into 3 files for slide, slidedown, and slideup
2012-01-13 17:27:53 +07:00
scottjehl
dbd03bf0df
removed fallback transition CSS for non-3D browsers
2012-01-13 17:27:53 +07:00
Mat Marquis
2f088cb2e3
Updated page transition scripting/support test to allow for Firefox.
2012-01-13 17:27:53 +07:00
scottjehl
57c6b968cd
updated docs to describe the maxTransitionWidth option.
2012-01-13 17:27:53 +07:00
scottjehl
518e3ce8cd
Added a new core option called maxTransitionWidth, which defaults to 1000. Accepts any number or false value. If it's not false, the handler will use a "none" transition when the window width is wider than the specified value. This is useful because transitions get very wonky on wider screens.
2012-01-13 17:27:53 +07:00
scottjehl
a0c67fa026
updated the rotate transition to move the page out of view
2012-01-13 17:27:53 +07:00
scottjehl
58d285a4a7
updated docs page to describe the new transition handler and how it works.
2012-01-13 17:27:53 +07:00
scottjehl
f40caba625
removed "none" transition handler from Nav.js. Updated the new out-in transition handler so that it supports "none" transitions in addition to our new default css3 animation sequence. The new transition handler is set as the default, and available publicly as $.mobile.defaultTransitionHandler and $.mobile.transitionHandlers["default"].
2012-01-13 17:27:53 +07:00
scottjehl
91709b4167
removed z-index rules, no longer needed
2012-01-13 17:27:53 +07:00
scottjehl
1f7d8ac7b6
z index not needed
2012-01-13 17:27:53 +07:00
scottjehl
34427cfb9d
brought back a full flip transition for 3d supporting browsers, using 90deg pairs. Needs further testing
2012-01-13 17:27:52 +07:00
scottjehl
f5ffe7540d
whitespace
2012-01-13 17:27:52 +07:00
scottjehl
5bf6728a65
removed or moved opacity rules for simpler cascade
2012-01-13 17:27:52 +07:00
scottjehl
93c1efe143
removed z-index rules, as pages no longer overlap in transitions
2012-01-13 17:27:52 +07:00
toddparker
21c53b646f
Moved non-3D rules to the bottom to hide the ugliness
...
Rule order doesn't seem to matter because of specificity.
2012-01-13 17:27:52 +07:00
toddparker
7dcce519f7
First cut at making pop work for non-3D browsers. Still rough, but works.
...
I had to create a new set of basic keyframes for non-3D because we had
opacity baked into our keyframes. As an upside, I could tweak the scale
factor differently between Android (0 > 1) and 3D (0.8 > 1).
2012-01-13 17:27:52 +07:00
toddparker
33b8cb67e0
Slide transition improvements
...
- Switched from opacity to outline for nofade
- Re-vamped the non-3D slides to eliminate blinking
2012-01-13 17:27:52 +07:00
toddparker
c152cc16d9
A few more slide tweaks, still blinky or skips frames in unpredictable ways
2012-01-13 17:27:52 +07:00
toddparker
0675e15233
Added "nofade" transition, slide/up/down for non-3D devices
...
- Introduced a class (nofade) which is similar to dontmove for
overwriting the fade in/out classes. We're not scoping all classes to
with supported or not like in flip so we need to negate the fade rules
with a new animation
- Added a selector block at the top to lengthen all slide animations to
300ms to reduce blinkiness on Android. Shorter caused animations to
break out of sequence. Needs refinement on timing.
- Added rules to apply the "nofade" classes to the replace the fade
in/out animations for non-3D browsers. Had to set the duration equal to
the slide animations to keep it all in sync.
2012-01-13 17:27:52 +07:00
toddparker
7e9203bcfe
Re-org file, scoped all flip rules to the 3d supported class to avoid android seeing these
...
Cleaned up unsupported rules, added to top of file - needed both fade
in and out rules
2012-01-13 17:27:52 +07:00
scottjehl
e0a630103b
updated description of what happens with flip on non 3d
2012-01-13 17:27:52 +07:00
scottjehl
af7a8355dc
added a rotate transition, just for fun.
2012-01-13 17:27:52 +07:00
scottjehl
d6a44fcce9
flipped the default timing for in and out - they were backwards
2012-01-13 17:27:52 +07:00
scottjehl
43f113dd78
removed old comment
2012-01-13 17:27:51 +07:00
scottjehl
73ea93df11
removed flip in rules, no longer in use
2012-01-13 17:27:51 +07:00
scottjehl
5d3468b5cd
cleaned these up so only the right rules are in the right files
2012-01-13 17:27:51 +07:00
scottjehl
dcd1fef137
whitespace
2012-01-13 17:27:51 +07:00
scottjehl
5776196fea
moved ui-viewport-transitioning rules into here
2012-01-13 17:27:51 +07:00
scottjehl
a1b2d9433e
updated comment to credit jqTouch for original transitions ideas, though these are now quite different
2012-01-13 17:27:51 +07:00
scottjehl
bdcaa0ab23
missed slide in the new transitions file split out
2012-01-13 17:27:51 +07:00
scottjehl
a7dafba9fd
updated make and concat files for new transition handler
2012-01-13 17:27:51 +07:00
scottjehl
76042018ff
renamed the new transition handler transition.js
2012-01-13 17:27:51 +07:00
scottjehl
5a4f16d08a
split transition CSS into separate files.
2012-01-13 17:27:51 +07:00
scottjehl
296b739521
tweaked scale and duration of some flip and pop transitions
2012-01-13 17:27:51 +07:00
scottjehl
a6b23b15be
dontmove is no longer in use
2012-01-13 17:27:50 +07:00
scottjehl
76664aebc1
not needed, as flip already uses fade now in the "in" transition.
2012-01-13 17:27:50 +07:00
scottjehl
86e059465a
lowercased
2012-01-13 17:27:50 +07:00
scottjehl
c2733fc8e7
for non-3d browsers, use fade instead of flip
2012-01-13 17:27:50 +07:00
scottjehl
49724f94b9
woops. add it whether it's supported or not :)
2012-01-13 17:27:50 +07:00
scottjehl
cf85b4229a
add class for 3d transform support
2012-01-13 17:27:50 +07:00
scottjehl
9470239581
fixed a typo in the query
2012-01-13 17:27:50 +07:00
scottjehl
1e8a7c520e
Added a feature test for css 3d transforms, which will allow us to conditionally apply the flip transition (AKA cartwheel, where unsupported).
2012-01-13 17:27:50 +07:00
toddparker
d231dd71cc
Updated -moz out to match
2012-01-13 17:27:50 +07:00
toddparker
d39fb83ec4
Broke out the global and in and out transition rules for asymmetric timing
...
Also added duplicate buttons at the booth to test scroll position
smoothness.
2012-01-13 17:27:50 +07:00
scottjehl
920738c8b9
rolled that last one back.
2012-01-13 17:27:50 +07:00
scottjehl
dbddd9dbb6
a little faster on the fades. needs cleanup later
2012-01-13 17:27:50 +07:00
scottjehl
1532f509c6
removed spin because we aren't using it no mo
2012-01-13 17:27:50 +07:00
scottjehl
b6145b5a1a
updated the slide and flip handlers to use combo fade/slide/flip transitions
2012-01-13 17:27:49 +07:00
scottjehl
1e7e65a6b8
fixed up the pop out transition for outin handler
2012-01-13 17:27:49 +07:00
scottjehl
3c3448d553
added new filename to make and combiner files
2012-01-13 17:27:49 +07:00
scottjehl
c3d2e70802
changed filename
2012-01-13 17:27:49 +07:00
scottjehl
b203c266e4
changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically.
2012-01-13 17:27:49 +07:00
scottjehl
b7838a8a62
brought back the height settings, and fixed a typo between addClass and removeClass
2012-01-13 17:27:49 +07:00
scottjehl
edfea0ae22
don't use pre transitioning class, or viewport class for this transition handler. Instead, activate page early, then scroll to desired spot, and transition in. In order to make this work, I had to add an argument to the end of the promise, letting navigation know that the page is already focused, so don't do it over again. This should make for a smooth transition from point-a to point-b, without a visible scroll jump. Needs testing!
2012-01-13 17:27:49 +07:00
scottjehl
2ee3dd2a5e
add back viewport transitioning class
2012-01-13 17:27:49 +07:00
scottjehl
b698d55ca1
don't scroll at the end. scroll halfway through instead
2012-01-13 17:27:49 +07:00
scottjehl
126846070d
an attempt at simplification. not there yet...
2012-01-13 17:27:49 +07:00
scottjehl
554ef6da53
removed unused image
2012-01-13 17:27:49 +07:00
Todd Parker
0327298ca1
Loader design tweaks
...
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-13 17:27:49 +07:00
scottjehl
6e9da8e90f
added fade out in transition handler
2012-01-13 17:27:48 +07:00
scottjehl
a8416daa06
changed filename
2012-01-13 17:27:48 +07:00
scottjehl
4d6f341a57
changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically.
2012-01-13 17:27:48 +07:00
Todd Parker
8221c3e98e
Add -moz prefixes for initial cut at Firefox transition support
2012-01-13 17:27:48 +07:00
Todd Parker
df64a22e3e
Shorter fade out (150ms) and fade in (300ms) for speedier transitions.
2012-01-13 17:27:48 +07:00
scottjehl
4bc2bb8616
brought back the height settings, and fixed a typo between addClass and removeClass
2012-01-13 17:27:48 +07:00
Todd Parker
ff618ff5e1
Faster spinner animation
...
Was 4ms per frame, now 3ms.
2012-01-13 17:27:48 +07:00
scottjehl
d68d8ff53a
don't use pre transitioning class, or viewport class for this transition handler. Instead, activate page early, then scroll to desired spot, and transition in. In order to make this work, I had to add an argument to the end of the promise, letting navigation know that the page is already focused, so don't do it over again. This should make for a smooth transition from point-a to point-b, without a visible scroll jump. Needs testing!
2012-01-13 17:27:48 +07:00
scottjehl
7141ad8b6f
add back viewport transitioning class
2012-01-13 17:27:48 +07:00
scottjehl
5217ad7df3
don't scroll at the end. scroll halfway through instead
2012-01-13 17:27:03 +07:00
scottjehl
cde86da912
position loader fixed by default, then check if it's positioned correctly and if not, switch to an absolute positioned scheme, with updates on scroll (or scrollstop in iOS 4).
2012-01-13 17:27:03 +07:00
Todd Parker
ad2f977ca8
All new loader hotness
...
Created a new loader that has a circle baked into the animated gif so
there's less of a chance of artifacts in bad browsers. The edge is
chunky because it's a gif but then added 1px of padding to the loader
parent and that the border-radius can smooth this out in iOS. Actually
looks sharp in Android too because of interaction effects between these
rounded corners. Loader spin is faster and more compressed (16 colors).
Removed the body-a class on the spinner since we're just setting this to
flat black = one less gradient to render.
2012-01-13 17:27:02 +07:00
scottjehl
ab32d0850b
an attempt at simplification. not there yet...
2012-01-13 17:27:02 +07:00
scottjehl
5da1f11c4b
default transition type goes to fade
2012-01-13 17:27:02 +07:00
scottjehl
4bb63a315c
for now, removed any difference between framework transition defaults and the docs. We might want to bring this back and recommend it though - I'm not sure how easy it'll be to bring it in standard with the ability to configure.
2012-01-13 17:27:02 +07:00
scottjehl
1e6e411278
removed unused image
2012-01-13 17:27:02 +07:00
Todd Parker
609397dda4
More loader tweaks
2012-01-13 17:27:02 +07:00
Todd Parker
7c160b77af
Loader design tweaks
...
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-13 17:27:02 +07:00
scottjehl
1435e0b49e
added loader test page for local testing
2012-01-13 17:27:02 +07:00
scottjehl
fe5ef1aea9
gif loader style updates
2012-01-13 17:27:02 +07:00
scottjehl
88914e01a4
gif loader styles
2012-01-13 17:27:01 +07:00
scottjehl
b46b4220dc
removed code to set css3transitionhandler as the default
2012-01-13 17:27:01 +07:00
scottjehl
f50e029bac
hard-set opacity for "out" to prevent blinks
2012-01-13 17:27:01 +07:00
scottjehl
e830f6221b
added fade out in transition handler file
2012-01-13 17:27:01 +07:00
scottjehl
eda70bd3b3
added fade out in transition handler
2012-01-13 17:27:01 +07:00
scottjehl
1a78cc86c3
gif-based loader animation
2012-01-13 17:27:01 +07:00
scottjehl
6a28fd4b13
removed commented out line
2012-01-13 17:27:01 +07:00
scottjehl
7a8821fb71
Much of the scripting in nav.js's transitionPages function was tied to the animation sequence for our css3transitionhandler. For example, the order was, scroll to top, run transitions, then scroll to the remembered location of the new page (there's more involved, but that's the gist of it). If we want to expand beyond this sequence, much of that scripting needs to move to the css3transitionhandler itself, and also to our "none" transition handler, which comes with nav model.
...
This commit moves all that logic into the transition handlers, and should provide a better starting point for adding different transition sequences, such as fade-out, scroll, fade-in.
In the process of making this change, the reFocus function was made public as $.mobile.focusPage.
2012-01-13 17:27:01 +07:00
Ghislain Seguin
70c4f9f0a5
Fixes #3394 - jquery.mobile.init was not being included in the built bundle
2012-01-13 17:26:21 +07:00
Ghislain Seguin
22ec6cf3ed
Fixed wrong line break
2012-01-13 17:26:21 +07:00
Mat Marquis
42536ecafe
Added download builder metadata.
2012-01-13 17:26:21 +07:00
John Bender
6b0d9dd2d0
conceding defeat on determining the load order issue that's causing the test failure
2012-01-13 17:25:56 +07:00
John Bender
4650f57222
remove duplicate test run
2012-01-13 17:25:56 +07:00
John Bender
21394cb5e5
check to make sure cached test page appears
2012-01-13 17:25:56 +07:00
jblas@adobe.com
c1a61aa6a8
Corrected the title for the functional test.
2012-01-13 17:25:56 +07:00
jblas@adobe.com
d4c7123c85
Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
...
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".
- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-13 17:25:55 +07:00
John Bender
bf39926d0d
enforce test order ... dying a little inside
2012-01-13 17:25:55 +07:00
Eddie Monge Jr
01d1ce2342
increase java cache size
2012-01-13 17:25:55 +07:00
John Bender
384e8979f3
remove submodule update note
2012-01-13 17:25:55 +07:00
John Bender
fdcfd54172
vendor r.js and require.js
2012-01-13 17:25:55 +07:00
John Bender
8b08b65676
remove requirejs and r.js submodules in favor of vendoring the libraries
2012-01-13 17:25:55 +07:00
John Bender
5365928b40
add submodule update/init to readme
2012-01-13 17:25:55 +07:00
John Bender
6688882ef2
remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php
2012-01-13 17:25:54 +07:00
John Bender
0c006605d1
obviate the need for stub definition of define when using vanilla /js require
2012-01-13 17:25:54 +07:00
John Bender
b3d1b49008
update functional tests to use requirejs
2012-01-13 17:25:54 +07:00
John Bender
4ca0e94b73
add ui-mobile-rendering to docs to temprarily prevent fouc with async load. @gseguin to address with jqm-docs.js change
2012-01-13 17:25:54 +07:00
John Bender
b3048e4be5
switch to explicit false check to avoid undefined issues
2012-01-13 17:25:54 +07:00
John Bender
921ab705f5
fix async loading select test issue where keepnative isn't defined in time for the leading test
2012-01-13 17:25:54 +07:00
John Bender
b3c4b8f939
note about fouc
2012-01-13 17:25:54 +07:00
John Bender
bb240a55a6
whitespace in readme
2012-01-13 17:25:54 +07:00
John Bender
67967318d4
added note about local server support for development
2012-01-13 17:25:53 +07:00
John Bender
799c0b6b5b
ensure defaultTransitionHandler is defined after the navigation has been loaded
2012-01-13 17:25:53 +07:00
John Bender
fe32fd5b17
ensure defaultTransitionHandler is defined after the navigation has been loaded
2012-01-13 17:25:53 +07:00
John Bender
d347be825c
move to reloadModule as it returns a deferred
2012-01-13 17:25:53 +07:00
John Bender
c50310bfab
make sure the slider core runs before init to set keepNative properly
2012-01-13 17:25:53 +07:00
John Bender
3890539f8f
update select cached tests to use async
2012-01-13 17:25:53 +07:00
John Bender
9747f2ce87
update listview pushstate test to use async
2012-01-13 17:25:53 +07:00
John Bender
5a6c8b145e
init test order and other small fixes
2012-01-13 17:25:53 +07:00
John Bender
a85a5bc537
fixed listview tests async loading
2012-01-13 17:25:52 +07:00
Mat Marquis
6148cf9229
Updating select menu tests to match recent dialog markup changes.
2012-01-13 17:25:52 +07:00
John Bender
79c7590660
stub define in event tests
2012-01-13 17:25:52 +07:00
John Bender
6795eb37c9
stubbed define in nav tests
2012-01-13 17:25:52 +07:00
Mat Marquis
3d62715b3c
Fixing navigation bug caused by dialog markup changes.
2012-01-13 17:25:52 +07:00
John Bender
7ba4547aa3
fix url checks to use search where appropriate
2012-01-13 17:25:52 +07:00
Mat Marquis
00b7c85b4f
Applied top margin to dialog headers rather than .ui-dialog, as the latter was breaking content-only dialogs meant to align with the top of the viewport.
2012-01-13 17:25:52 +07:00
Mat Marquis
20b0434207
Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page.
2012-01-13 17:25:52 +07:00
Mat Marquis
eb9968c2b6
Partial dialog refactor, in progress.
2012-01-13 17:25:52 +07:00
John Bender
57b1b23373
update nav base tests to use new push state helper
2012-01-13 17:25:51 +07:00
Frederik Lassen
de5ca04a74
Optimized the images even more. (Using ScriptPNG)
2012-01-13 17:25:51 +07:00
Frederik Lassen
b9853108b8
Corrected tiny typo.
2012-01-13 17:25:51 +07:00
Chetan K Jain
a95419ff73
data-id is not used in Pages and Dialogs
2012-01-13 17:25:51 +07:00
Chetan K Jain
3d8e887734
Update docs/about/getting-started.html
2012-01-13 17:25:51 +07:00
Chetan K Jain
5c7c1d875d
Update docs/pages/page-anatomy.html
2012-01-13 17:25:51 +07:00
Mat Marquis
6e5d454880
Ensured the hover delay only applies to touch devices, logic that was mysteriously absent from my previous commit.
2012-01-13 17:25:51 +07:00
Mat Marquis
00b328b6cb
Added slight delay before application of hover/down classes on touch devices, to prevent unintentional hover-ish behavior when the user intent is to scroll.
2012-01-13 17:25:50 +07:00
Anne-Gaelle Colom
ef56188c71
added navbar
2012-01-13 17:25:50 +07:00
zachleat
ebcf7a62c3
This might be a little overzealous, but I think the outline around the entire flip switch looks better than the clipped handle outline.
2012-01-13 17:25:50 +07:00
zachleat
e19ee8d953
Fix for browsers with JavaScript but without box-shadow enabled. outline: 0; outline-width: 2px; doesn't work, requires an outline-style to be set.
2012-01-13 17:25:50 +07:00
zachleat
3ca5a8a85e
Per @toddparker's comment, added boxshadow to link buttons. Also changed focus class on sliders to add to the handle, while excluding the toggle switch.
2012-01-13 17:25:50 +07:00
zachleat
0c722fb8f7
Nerf, you guys use tabs.
2012-01-13 17:25:50 +07:00
zachleat
5cc81797ba
First stab at more consistent focus classes on form elements, using .ui-focus. Links will still contain outline property.
2012-01-13 17:25:50 +07:00
Jake Boone
5f4c0a4914
Remove ui-btn-down class on scrollstart
2012-01-13 17:25:50 +07:00
Ghislain Seguin
6f61f4e7fc
Fixed checkboxradio tests
2012-01-13 17:25:49 +07:00
Anne-Gaelle Colom
4b92928e69
Update docs/forms/switch/options.html
2012-01-13 17:25:49 +07:00
Anne-Gaelle Colom
8c2a69c9fa
Update docs/forms/slider/options.html
2012-01-13 17:25:49 +07:00
Garann Means
0201319c74
Corrected fix for #3262 so it doesn't prevent buttons filling available space
2012-01-13 17:25:49 +07:00
Ghislain Seguin
26f2e492b8
Forgot to add rhino, there it is
2012-01-13 17:25:49 +07:00
Ghislain Seguin
e0c3fb26db
Renamed .tmp temp file to .compiled
2012-01-13 17:25:49 +07:00
Ghislain Seguin
2ec6eaf35b
Got rid of node dependency
2012-01-13 17:25:48 +07:00
Garann Means
226384d872
Fix for #3262 - set max-width for header/footer buttons and title
...
Text-overflow: ellipsis already set.
2012-01-13 17:25:48 +07:00
Ghislain Seguin
61595dd401
Reverted unwanted changes
2012-01-13 17:25:48 +07:00
Ghislain Seguin
86c611e436
Added require.js 1.0.3 as a submodule
2012-01-13 17:25:48 +07:00
Ghislain Seguin
b75bb594b4
Added r.js as a submodule
...
Removed almond
2012-01-13 17:25:48 +07:00
Gabriel Schulhof
ee7d94068b
[custom select] Use $(window).width() and not window.innerWidth - same for height
2012-01-13 17:25:47 +07:00
Tyler Benziger
fd6b776447
gradient syntax fix
2012-01-13 17:25:47 +07:00
Tyler Benziger
8520cc015c
gradient syntax fix
2012-01-13 17:25:47 +07:00
Ghislain Seguin
53a57b6d24
AMDized
2012-01-13 17:25:47 +07:00
Ghislain Seguin
3cf6c65b88
Changed $.extend to be non destructive
2012-01-13 17:25:47 +07:00
Ghislain Seguin
043a5164c9
Added $.testHelper.deferredSequence
...
Renamed reloadLib to reloadModule
Resuscitated $.testHelper.reloadLib
2012-01-13 17:25:47 +07:00
Ghislain Seguin
02baaf67f7
Expose jquery.mobile as an AMD module if running in an AMD env
2012-01-13 17:25:46 +07:00
Jake Boone
c31e7173d2
Move back button configuration options to Page section
2012-01-13 17:25:46 +07:00
Ghislain Seguin
6c874e2448
Remove .js suffix from libName
2012-01-13 17:25:46 +07:00
Ghislain Seguin
44b5951f00
Use new testHelper.reloadLib
2012-01-13 17:25:46 +07:00
Ghislain Seguin
94587acda2
Changed reloadLib to use requirejs' context. That process being async it now returns a $.Deferred
2012-01-13 17:25:46 +07:00
Ghislain Seguin
1e965041c1
Remove .js suffix from libName
2012-01-13 17:25:46 +07:00
Ghislain Seguin
f8dd89b269
AMDized
2012-01-13 17:25:46 +07:00
Ghislain Seguin
09c709ef0f
Added dep on buttonMarkup
2012-01-13 17:25:46 +07:00
Jake Boone
bd1fa8a67f
Use shorthand notation for margin
2012-01-13 17:25:45 +07:00
Tyler Benziger
09c0b6214b
Gradient syntax fixed
2012-01-13 17:25:45 +07:00
toddparker
f0744317c0
More tweaks to the sliders to fit well at 320px
2012-01-13 17:25:45 +07:00
toddparker
0c0d7e4e6d
Tweaked slider to be a bit wider
...
Checked to ensure this fits in inset lists
2012-01-13 17:24:55 +07:00
toddparker
ba1a6f74a9
Tightened up vertical spacing for form field containers at smartphone widths
...
There was more spacing between elements than needed, this cleans it up.
2012-01-13 17:24:55 +07:00
toddparker
201d3062be
Tweaked fieldset border rules so field contains work with this element. Fixes #2448
2012-01-13 17:24:55 +07:00
Ghislain Seguin
ef7966cec4
AMDized
2012-01-13 17:24:55 +07:00
Ghislain Seguin
c7b81d3e59
Named the module for testability
2012-01-13 17:24:55 +07:00
Ghislain Seguin
6d6a4114f7
Minimized imported resources
...
Added css links
2012-01-13 17:24:55 +07:00
Ghislain Seguin
2bc4c46f4d
Fixed test name
2012-01-13 17:24:55 +07:00
Ghislain Seguin
f945ca1564
AMDized
2012-01-13 17:24:55 +07:00
Ghislain Seguin
6d5996063f
Trailing comma
2012-01-13 17:24:54 +07:00
Ghislain Seguin
cc9b7cf72f
Minimized imported resources
2012-01-13 17:24:54 +07:00
Ghislain Seguin
c96c43a439
AMDized
2012-01-13 17:24:54 +07:00
Ghislain Seguin
adda6b7638
Added dep on page and page.sections (for nested lists)
2012-01-13 17:24:54 +07:00
Ghislain Seguin
e27ddb8c4a
Added dep on textinput
2012-01-13 17:24:54 +07:00
Ghislain Seguin
3d96b0281c
AMDized
2012-01-13 17:24:54 +07:00
Ghislain Seguin
383c38f316
AMDized
2012-01-13 17:24:54 +07:00
Ghislain Seguin
0b22de3a70
AMDized
2012-01-13 17:24:54 +07:00
Ghislain Seguin
0daa382a38
AMDized
2012-01-13 17:24:54 +07:00
Ghislain Seguin
fbab839995
Added dep on grid
2012-01-13 17:24:54 +07:00
Ghislain Seguin
e6d3dbc31f
Use .js convention provided by requirejs
2012-01-13 17:24:54 +07:00
Ghislain Seguin
f727d57fac
AMDized
2012-01-13 17:24:53 +07:00
Ghislain Seguin
1187352f03
Make sure controlGroup is loaded after checkboxradio (via order plugin)
2012-01-13 17:24:53 +07:00
John Bender
df26a446bd
remove base url juggling in favore of .js convention provided by requirejs
2012-01-13 17:24:53 +07:00
John Bender
c50b33f89f
update dialog tests to use amd
2012-01-13 17:24:53 +07:00
John Bender
a8aa89c470
upgrade degrade inputs tests to use amd, whitespace
2012-01-13 17:24:53 +07:00
John Bender
6af53d6409
update core tests to use amd, fix misleading test
2012-01-13 17:24:53 +07:00
John Bender
7e2ba55323
update control group tests to use amd
2012-01-13 17:24:53 +07:00
John Bender
86c050c2a0
remove unecessary collapsible test dep
2012-01-13 17:24:53 +07:00
John Bender
7c50bf975c
update collapsible tests to use amd
2012-01-13 17:24:53 +07:00
John Bender
3580f2cc70
update checkboxradio tests to use amd
2012-01-13 17:24:52 +07:00
John Bender
eb2cb510ac
update buttonMarkup tests to amd
2012-01-13 17:24:52 +07:00
John Bender
5d2dd81e48
update button core tests to amd
2012-01-13 17:24:52 +07:00
John Bender
a4c5d24ce8
added note to test helper
2012-01-13 17:24:52 +07:00
John Bender
b6f18635b3
page test moved to async load, fix for bad assumption in return false test
2012-01-13 17:24:52 +07:00
John Bender
0e9868465a
more flexible async loading helper, converted select test
2012-01-13 17:24:52 +07:00
John Bender
797378b1af
fix bug to allow pagebeforecreate bindings to prevent enhancement
2012-01-13 17:24:51 +07:00
John Bender
9c87aa48a4
whitespace in page core tests
2012-01-13 17:24:51 +07:00
John Bender
399026e225
alter select index tests to use async load
2012-01-13 17:24:51 +07:00
John Bender
34dcbe2aa7
async test library load helper
2012-01-13 17:24:51 +07:00
John Bender
66a818223a
added page and page section dependencies to custom select
2012-01-13 17:24:51 +07:00
John Bender
526ee3453b
added dialog to custom select deps
2012-01-13 17:24:51 +07:00
John Bender
ac6eb10913
alpha order deps
2012-01-13 17:24:51 +07:00
John Bender
7dc692dc3a
add transition dep to navigation
2012-01-13 17:24:51 +07:00
John Bender
7a4c507e96
add page and listview dep to custom select
2012-01-13 17:24:51 +07:00
Ghislain Seguin
517c9588ca
Added dep on "jquery.mobile.buttonMarkup" wherever needed
2012-01-13 17:24:50 +07:00
Ghislain Seguin
e419648b44
Added temporary dependency on mobile.widget
2012-01-13 17:24:50 +07:00
jblas@adobe.com
7aa80fd087
Fix for issue #3305 - Confusing documentation about dataUrl in changePage
...
- Changed 'data-url' to 'dataUrl' to match actual implementation.
2012-01-13 17:24:50 +07:00
Gabriele Rabbiosi
b0fb85a38d
Substituted wrong semicolon with comma inside a list of variable
...
declaration
2012-01-13 17:24:50 +07:00
John Bender
18f4d3d5e0
fix improperly camel cased module references
2012-01-13 17:24:50 +07:00
Ghislain Seguin
fdc51cfdfb
Fixed casing
2012-01-13 17:24:50 +07:00
Ghislain Seguin
c3ab146887
Added handling of pragmasOnSave from command line
2012-01-13 17:24:50 +07:00
Ghislain Seguin
fa86da6856
Reverted unwanted changes
2012-01-13 17:24:50 +07:00
Ghislain Seguin
d6993cd209
Re-added r.js & require.js
2012-01-13 17:24:50 +07:00
Ghislain Seguin
c6e49f7b07
Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js
2012-01-13 17:24:49 +07:00
Ghislain Seguin
f3e3121166
Specified more dependencies
2012-01-13 17:23:19 +07:00
Ghislain Seguin
6f13267af7
Moved r.js and require.js to external
2012-01-13 17:21:45 +07:00
Ghislain Seguin
5299b7ef44
Use original r.js, externalized stripping of define/require to amd-stripper.js
2012-01-13 17:21:45 +07:00
Ghislain Seguin
43de7d9c32
Added amd-stripper.js
2012-01-13 17:21:45 +07:00
Ghislain Seguin
55ded76442
Re-introduced structure CSS files
...
Use YUICompressor for CSS compression as it is more efficient than r.js
2012-01-13 17:21:45 +07:00
Ghislain Seguin
0ed067ac0e
Changed js and css targets to use r.js and r-jqm.js
2012-01-13 17:21:44 +07:00
Ghislain Seguin
6efb8eb9b2
Updated AMD stripping regexp
2012-01-13 17:21:44 +07:00
Ghislain Seguin
c6b6dff530
Not much, really
2012-01-13 17:21:27 +07:00
Ghislain Seguin
9a4ec07b62
Renamed r.js to r-jqm.js
2012-01-13 17:21:26 +07:00
Ghislain Seguin
c9cdf7f984
Fixed deps
2012-01-13 17:21:26 +07:00
Ghislain Seguin
5d479d9252
Fixed deps
2012-01-13 17:21:26 +07:00
Ghislain Seguin
fe537db42d
use define instead of require
...
use order plugin for init (not ideal)
2012-01-13 17:21:26 +07:00
Ghislain Seguin
dbe10647d2
Actually need order! plugin for controlgroup at least
2012-01-13 17:21:26 +07:00
Ghislain Seguin
e058f75923
Up'd to 1.0.2
2012-01-13 17:21:26 +07:00
Ghislain Seguin
46ea93cea1
Added dep on jquery.mobile.core
2012-01-13 17:20:44 +07:00
Ghislain Seguin
eed95e982d
removeClass( "ui-link" ) on first anchor in the li
2012-01-13 17:20:44 +07:00
Ghislain Seguin
88d5f0f89a
Removed dep on jqm.core
2012-01-13 17:20:44 +07:00
Ghislain Seguin
b0ef5af05f
Removed submodules
2012-01-13 17:20:44 +07:00
Ghislain Seguin
f8cf21438a
Removed ref to order
...
Added dir exclusion regex for build
2012-01-13 17:20:44 +07:00
Ghislain Seguin
38585bc377
Not using order after all
2012-01-13 17:20:44 +07:00
Ghislain Seguin
0b99ba6d5d
Updated script tags to use RequireJS to load the jQM
2012-01-13 17:20:44 +07:00
Ghislain Seguin
4a1f43dbba
Moved $.support.mediaquery to jquery.mobile.media
...
Set dependencies
2012-01-13 17:20:43 +07:00
Ghislain Seguin
dbedf643d3
Specified dependencies
2012-01-13 17:20:43 +07:00
Ghislain Seguin
a39240924d
Added collapsibleSet
2012-01-13 17:20:43 +07:00
Ghislain Seguin
b6e6febb76
Added dep on vmouse
2012-01-13 17:20:43 +07:00
Ghislain Seguin
65cdb13bc7
Added dep on jquery.mobile.buttonMarkup
2012-01-13 17:20:25 +07:00
Ghislain Seguin
17e298d5c1
Added r.js
2012-01-13 17:20:25 +07:00
Ghislain Seguin
323a52c195
Whitespace change
2012-01-13 17:20:25 +07:00
Ghislain Seguin
135642954f
Modified shimming condition
2012-01-13 17:20:25 +07:00
Ghislain Seguin
7fd83103f2
Added almond.js
2012-01-13 17:20:25 +07:00
Ghislain Seguin
3f56ebf6ca
Added RequireJS 1.0
2012-01-13 17:20:25 +07:00
Ghislain Seguin
a76b08de7d
Removed
2012-01-13 17:20:25 +07:00
Ghislain Seguin
eb78d79937
Added module for docs
2012-01-13 17:20:24 +07:00
Ghislain Seguin
a4fc1f6f9d
Added jQuery AMD shim to support jQuery < 1.7
2012-01-13 17:20:24 +07:00
Ghislain Seguin
d280d6ac9d
Fixed path to almond.js
...
Excluded order plugin
2012-01-13 17:20:24 +07:00
Ghislain Seguin
49a42f376c
Added @import to replace index.php
2012-01-13 17:20:24 +07:00
Ghislain Seguin
71fcd289fe
stop using require-jquery
2012-01-13 17:20:24 +07:00
Ghislain Seguin
a95e7957e2
added order plugin to the baseUrl directory
2012-01-13 17:20:24 +07:00
Ghislain Seguin
07b85a1e34
AMDized
2012-01-13 17:20:24 +07:00
Ghislain Seguin
f01154d762
Moved to AMD
2012-01-13 17:20:24 +07:00
Ghislain Seguin
ad1653c7f4
Use @imports instead of the PHP combine, r.js will take care of optimization
2012-01-13 17:20:24 +07:00
Ghislain Seguin
1b45da3955
AMD build file
2012-01-13 17:20:23 +07:00
Ghislain Seguin
c771ef1f6b
Main AMD module
2012-01-13 17:20:23 +07:00
Ghislain Seguin
7c04014394
Added r.js v1.0
2012-01-13 17:20:23 +07:00
Ghislain Seguin
db632f9152
Added requirejs v1.0
2012-01-13 17:20:23 +07:00
Ghislain Seguin
1ca9fb6b01
AMDized
2012-01-13 17:20:23 +07:00
Ghislain Seguin
3f1543a451
AMDized
2012-01-13 17:20:23 +07:00
Ghislain Seguin
e9cd5c7e3f
Added almond as a submodule
2012-01-13 17:19:33 +07:00
scottjehl
262b7dc62b
Merge remote branch 'origin/master'
2012-01-13 14:48:21 +07:00
scottjehl
845dc1ef73
use existing elem instead of creating a new one.
2012-01-13 14:46:35 +07:00
Ghislain Seguin
8bbc9f8489
Reverted to the old way (without RequireJS) until we find a way to make it work with RequireJS
2012-01-12 23:20:55 -08:00
Ghislain Seguin
e6fb1e7c8e
Hopefully made the event tests a little happier
2012-01-12 23:19:58 -08:00
Ghislain Seguin
bc6cfbfb53
Added jQuery as a param to the define shim
2012-01-12 23:19:36 -08:00
Ghislain Seguin
323601ad25
Back by popular demand (also needed by event tests)
2012-01-12 22:35:27 -08:00
Ghislain Seguin
17164d28c4
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-12 21:58:42 -08:00
Ghislain Seguin
1630a18dd6
Added dependency on jquery.mobile.transitions
2012-01-12 21:43:41 -08:00
jrburke
73a8d24134
Move require.js to first tag so it can catch jquery module registration, otherwise jquery may be loaded twice.
2012-01-12 21:35:46 -08:00
Ghislain Seguin
1a1657a7ea
Fixed closing pre tag
2012-01-12 21:29:00 -08:00
Ghislain Seguin
9e587e89b4
Fixed closing p
2012-01-12 21:27:47 -08:00
Ghislain Seguin
346786da11
Removed stray anchor before doctype
2012-01-12 21:27:09 -08:00
Ghislain Seguin
491cddd4b8
Move require.js to first tag so it can catch jquery module registration
...
Otherwise jquery may be loaded twice
2012-01-12 21:25:59 -08:00
Ghislain Seguin
948d39b898
Added dependency on jquery
2012-01-12 21:22:00 -08:00
Ghislain Seguin
90da812af7
Added wrapper and pragmasOnSave
2012-01-12 17:46:26 -08:00
Ghislain Seguin
5b8f2be9d2
Added wrapper to export as an AMD modules
...
removed jquery.mobile.exports
2012-01-12 17:45:47 -08:00
Ghislain Seguin
caca24a36a
Removed unused app.build.js
2012-01-12 17:44:33 -08:00
Ghislain Seguin
d6330f9bc4
Added prepending of version licensed to jquery.mobile.docs.js and jquery.mobile.css
2012-01-12 16:58:18 -08:00
Mat Marquis
c35e6f2fde
Comment typo, made a TODO about globalizing the testing method added in the previous commit.
2012-01-12 18:56:09 -05:00
Mat Marquis
abfec80413
Fixes a false positive for 3D transform support on Android 2.3 (possibly others).
2012-01-12 18:56:09 -05:00
Ghislain Seguin
c5f1fd5831
Merge pull request #3426 from eddiemonge/patch-14
...
add docs back to the latest build target
2012-01-12 15:39:30 -08:00
Ghislain Seguin
8a2881b783
Don't know why that r.js was there in the first place
2012-01-12 15:36:48 -08:00
Ghislain Seguin
228e31731a
Rewrote "docs" target to take advantage of r.js' whole project optimization added build profile docs.build.js
2012-01-12 15:36:48 -08:00
Mat Marquis
8da75eb6b5
Fixes #2553 — Addresses issue where underlying checkboxes/radio buttons were not being updated when enhanced buttons were clicked.
2012-01-12 17:28:08 -05:00
Eddie Monge Jr.
efffcd22da
add docs back to the latest build target
2012-01-12 14:19:31 -08:00
Ghislain Seguin
7e7b1b63f1
Finished merging branch 'out-in-transition', I had trailing commas in there instead of semi-colons
2012-01-12 10:09:25 -08:00
Ghislain Seguin
9e935c31f6
Merge branch 'out-in-transition'
...
Conflicts:
css/structure/index.php
docs/_assets/js/jqm-docs.js
index.html
2012-01-12 09:56:48 -08:00
Ghislain Seguin
efb9b807b7
AMDized transition code
2012-01-12 09:36:46 -08:00
scottjehl
a83727e4be
combined redundant syntax
2012-01-12 21:41:54 +07:00
scottjehl
2cd994b2e8
added the timing durations to the transitions themselves
2012-01-12 21:41:39 +07:00
scottjehl
32350a813a
fixed some typos where webkit needed to be moz
2012-01-12 21:38:25 +07:00
scottjehl
70670bc344
fix up dialog presentation - headers were busted
2012-01-12 21:26:41 +07:00
scottjehl
6cd1adc528
no bg image/gradient on ui-overlay
2012-01-12 21:26:27 +07:00
scottjehl
5e878186cc
removed old link
2012-01-12 21:06:49 +07:00
scottjehl
682ef80cf9
added missing files
2012-01-12 14:46:49 +07:00
scottjehl
fa4645c236
no longer need this class addition
2012-01-12 12:54:16 +07:00
scottjehl
6d4d0e14e6
code style
2012-01-12 12:50:47 +07:00
scottjehl
356e2cdfb8
Merge remote branch 'origin/out-in-transition' into out-in-transition
2012-01-12 12:39:04 +07:00
scottjehl
155adc14c1
CSS for ui-overlay-x applies to container now too - removed double class
2012-01-12 12:27:14 +07:00
scottjehl
ca98419cb0
class name was body instead of overlay. Fixed
2012-01-12 11:53:30 +07:00
toddparker
c514777327
Removed blurb about shutting off transitions over 1,000 pixels
2012-01-11 22:14:28 -05:00
toddparker
7df216aa33
Tweaked max width blurb to match the "false" default to avoid confusion
2012-01-11 22:09:16 -05:00
toddparker
9726f21e09
SetScrollBack to 10 (from 250), CSS tweaks to table
2012-01-11 22:07:04 -05:00
toddparker
4c26cd15e2
Re-vamp of transition button design, added page demos
...
Added a new page to contrast the dialog vs. page transitions. Page has
fixed toolbars and form elements to really stress the transitions.
Switched to a table design with a button for dialog and page for each
transition.
2012-01-11 21:45:11 -05:00
toddparker
0fb9024473
Turned maxTransitionWidth to false by default
...
Useful for testing, we may set this back to a value once we've seen
more feedback. Improved the comment a bit.
2012-01-11 20:53:41 -05:00
Mat Marquis
6db136ff12
Merge branch 'out-in-transition' of github.com:jquery/jquery-mobile into out-in-transition
2012-01-11 18:04:17 -05:00
Mat Marquis
f7d59da646
Updated 3d transform test to accomodate FF10.
2012-01-11 16:28:08 -05:00
Mat Marquis
5cfc363fa2
Removed reference to themeswitcher JS docs-wide.
2012-01-11 15:51:53 -05:00
Mat Marquis
071b65f00d
Removed themeswitcher in docs.
2012-01-11 14:55:20 -05:00
jblas@adobe.com
86f74cbe39
Fix for issue #3416 - getTopOffset() should subtract scrollTop not add it.
...
- Modified private utility function getTopOffset() so that it subracts scrollTop from top instead of adding it.
2012-01-11 11:44:58 -08:00
scottjehl
347014530e
if there's an overlay theme, we're going to remove it from the page container. First though, check that the incoming page isn't a dialog with the same overlay theme. If so, don't remove the class, as it'll remove it for the next one too
2012-01-11 23:29:50 +07:00
scottjehl
c0f39a6c7f
don't append themeswitcher to the dialogs - updated now that the dialog markup changed
2012-01-11 22:01:23 +07:00
scottjehl
c46a94d598
removed the sample link to the delayed-load page. no longer needed
2012-01-11 21:42:55 +07:00
scottjehl
8f54d62527
added some unit tests for maxTransitionWidth option
2012-01-11 21:31:06 +07:00
scottjehl
4125bc6756
disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests.
2012-01-11 11:27:24 +07:00
scottjehl
5b6401327f
By caching the href value to data and switching the href to a #, we can avoid address bar showing in iOS on every click. The click handler resets the href during its initial steps if this data is present. Note that the address bar will still likely drop down when you click the browser's back button. The only time the back button will not drop the address bar appears to be when the back button does not trigger a pushstate operation - so pushstate would either have to be disabled, or the page would have to be local (multipage), or the page would need to be a dialog (since then going back would only be a hashchange).
...
Still, progress.
2012-01-11 10:50:22 +07:00
scottjehl
e4d7ff92e8
special case for dialogs - the theme class will apply to the page container when a dialog is shown, and that class will be removed when the dialog is hidden. This allows the transition to appear to affect only the inset window portion of the dialog page.
2012-01-11 10:01:47 +07:00
Ghislain Seguin
ff9b742723
Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php
2012-01-10 14:49:52 -08:00
Ghislain Seguin
d47b6ba6c9
Removed as this is done through @import statements now
2012-01-10 14:34:59 -08:00
Ghislain Seguin
19bcd5a250
Have index.php serve the right file, this is deprecated and should be removed before 1.1 release
2012-01-10 14:32:48 -08:00
Ghislain Seguin
ee1d1f2670
Ported 148cb09132 to valencia theme
2012-01-10 14:31:27 -08:00
Todd Parker
68216bbd79
Missing a 0, thanks @agcolom!
2012-01-10 17:00:11 -05:00
Ghislain Seguin
a19e5dd944
Changed source CSS file for css bundle following bac53cf151
2012-01-10 13:50:58 -08:00
Mat Marquis
148cb09132
Updated docs’ CSS to use new @import scheme.
2012-01-10 16:35:51 -05:00
Mat Marquis
bac53cf151
Single CSS concat file using @import, rather than the PHP concat.
2012-01-10 16:35:50 -05:00
Todd Parker
52f25254e5
Merge pull request #3406 from agcolom/patch-53
...
Added clarification to the Back button, Fixes #3291
2012-01-10 13:24:20 -08:00
Anne-Gaelle Colom
ab29d7d14d
Added clarification to the Back button, Fixes #3291
2012-01-10 20:45:57 +00:00
Ghislain Seguin
127b4493d6
Updated CSS path to default/jquery.mobile.theme.css so it doesn't pick up the index.php
2012-01-10 11:44:59 -08:00
Mat Marquis
1f5449e552
Added page turning transition.
2012-01-10 14:10:45 -05:00
John Bender
0b07290873
fix timing issue where the pushstate plugin expected popstate generated hashchanges to happen before a given timeout
2012-01-10 10:47:56 -08:00
Mat Marquis
8567dd6b07
Fixed theme CSS inclusion on docs index.
2012-01-10 12:31:19 -05:00
Chetan K Jain
b07f347787
fixes #3400
2012-01-10 12:31:19 -05:00
Ghislain Seguin
92fd8f663c
Fixes #3394 - jquery.mobile.init was not being included in the built bundle
2012-01-10 12:31:18 -05:00
Mat Marquis
cbebd88265
Fixed theme CSS inclusion on docs index.
2012-01-10 12:14:27 -05:00
toddparker
d7f9cee654
Removed setDefaultTransition in docs.js
...
This isn't needed anymore.
2012-01-10 11:27:24 -05:00
toddparker
a2145cb2b5
Added docs to cover the new transitions
2012-01-10 11:15:19 -05:00
Todd Parker
db2829bc29
Merge pull request #3401 from chetankjain/patch-4
...
fixes #3400 . Thanks chetankjain!
2012-01-10 07:35:25 -08:00
toddparker
3da8b6e245
Whitespace
2012-01-10 10:31:36 -05:00
Chetan K Jain
233f5720bd
fixes #3400
2012-01-10 21:00:14 +05:30
toddparker
fab717a459
Added in drop shadow on pages in "flow" transition, adjusted timing to be longer
2012-01-10 10:29:04 -05:00
scottjehl
e35327c894
rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now!
2012-01-10 17:30:28 +07:00
scottjehl
67aec832cb
removed old commented out code
2012-01-10 14:07:07 +07:00
scottjehl
6e2f1cd64f
moved the hide loader call back to nav again
2012-01-10 14:06:24 +07:00
scottjehl
679a46dbf0
even when stubbing out the function for testing, this $.fn needs to return this (it's relied upon for chaining in nav)
2012-01-10 13:23:55 +07:00
scottjehl
7e0de23e61
added reference to flow transition fallback
2012-01-10 13:00:55 +07:00
scottjehl
4f570f3095
one too many transition js refs
2012-01-10 12:59:24 +07:00
scottjehl
c09c767bd5
added fallback transition for flow
2012-01-10 12:51:27 +07:00
scottjehl
8d0c2402ca
better check for supporting fallback
2012-01-10 12:51:27 +07:00
scottjehl
75d0d95bea
pulled out the 3D madness
2012-01-10 12:51:27 +07:00
scottjehl
a7e15820d8
changed up the timing and origin
2012-01-10 12:51:05 +07:00
scottjehl
8f5e263bd8
added an experimental 3D transition, "flow"
2012-01-10 12:51:05 +07:00
scottjehl
ffa23bc137
removed rotate transition from concat files and docs
2012-01-10 12:50:53 +07:00
scottjehl
d1edb4f98c
better comment
2012-01-10 12:50:44 +07:00
scottjehl
0dd88f4f88
implemented fallback transition definitions for non-3D-supporting browsers, for all transitions except "fade". By default, these are all set to fall back to "fade", and they'll fall back to "none" if 3D is unsupported and no fallback is defined. They can be overridden at mobileinit, like any other jQM default.
2012-01-10 12:50:44 +07:00
scottjehl
fd700aaa15
removed the experimental rotate transition
2012-01-10 12:50:33 +07:00
scottjehl
40d9fa978a
split the slide transitions into 3 files for slide, slidedown, and slideup
2012-01-10 12:50:33 +07:00
scottjehl
86e9c9df68
removed fallback transition CSS for non-3D browsers
2012-01-10 12:50:22 +07:00
Mat Marquis
0b80c12778
Updated page transition scripting/support test to allow for Firefox.
2012-01-10 12:50:22 +07:00
scottjehl
b019e01201
updated docs to describe the maxTransitionWidth option.
2012-01-10 12:50:22 +07:00
scottjehl
69558f2cbd
Added a new core option called maxTransitionWidth, which defaults to 1000. Accepts any number or false value. If it's not false, the handler will use a "none" transition when the window width is wider than the specified value. This is useful because transitions get very wonky on wider screens.
2012-01-10 12:50:22 +07:00
scottjehl
3271066c97
updated the rotate transition to move the page out of view
2012-01-10 12:50:22 +07:00
scottjehl
c39cf6e6bc
updated docs page to describe the new transition handler and how it works.
2012-01-10 12:50:21 +07:00
scottjehl
70ef725952
removed "none" transition handler from Nav.js. Updated the new out-in transition handler so that it supports "none" transitions in addition to our new default css3 animation sequence. The new transition handler is set as the default, and available publicly as $.mobile.defaultTransitionHandler and $.mobile.transitionHandlers["default"].
2012-01-10 12:50:21 +07:00
scottjehl
22162fd5e7
removed z-index rules, no longer needed
2012-01-10 12:50:21 +07:00
scottjehl
11848a6829
z index not needed
2012-01-10 12:50:21 +07:00
scottjehl
f6ec2436b7
brought back a full flip transition for 3d supporting browsers, using 90deg pairs. Needs further testing
2012-01-10 12:50:21 +07:00
scottjehl
7341d7c9d0
whitespace
2012-01-10 12:50:21 +07:00
scottjehl
7be58bc085
removed or moved opacity rules for simpler cascade
2012-01-10 12:50:21 +07:00
scottjehl
9d2f96fc91
removed z-index rules, as pages no longer overlap in transitions
2012-01-10 12:50:21 +07:00
toddparker
74a8f2c2c3
Moved non-3D rules to the bottom to hide the ugliness
...
Rule order doesn't seem to matter because of specificity.
2012-01-10 12:50:21 +07:00
toddparker
6ddc8c0e9d
First cut at making pop work for non-3D browsers. Still rough, but works.
...
I had to create a new set of basic keyframes for non-3D because we had
opacity baked into our keyframes. As an upside, I could tweak the scale
factor differently between Android (0 > 1) and 3D (0.8 > 1).
2012-01-10 12:50:21 +07:00
toddparker
4d5e2ec437
Slide transition improvements
...
- Switched from opacity to outline for nofade
- Re-vamped the non-3D slides to eliminate blinking
2012-01-10 12:50:21 +07:00
toddparker
9531ff46f8
A few more slide tweaks, still blinky or skips frames in unpredictable ways
2012-01-10 12:50:20 +07:00
toddparker
0edc6271a5
Added "nofade" transition, slide/up/down for non-3D devices
...
- Introduced a class (nofade) which is similar to dontmove for
overwriting the fade in/out classes. We're not scoping all classes to
with supported or not like in flip so we need to negate the fade rules
with a new animation
- Added a selector block at the top to lengthen all slide animations to
300ms to reduce blinkiness on Android. Shorter caused animations to
break out of sequence. Needs refinement on timing.
- Added rules to apply the "nofade" classes to the replace the fade
in/out animations for non-3D browsers. Had to set the duration equal to
the slide animations to keep it all in sync.
2012-01-10 12:50:20 +07:00
toddparker
373abd7623
Re-org file, scoped all flip rules to the 3d supported class to avoid android seeing these
...
Cleaned up unsupported rules, added to top of file - needed both fade
in and out rules
2012-01-10 12:50:20 +07:00
scottjehl
81c98eb1e1
updated description of what happens with flip on non 3d
2012-01-10 12:50:20 +07:00
scottjehl
13cdc5d7c4
added a rotate transition, just for fun.
2012-01-10 12:50:20 +07:00
scottjehl
bce5a5a33d
flipped the default timing for in and out - they were backwards
2012-01-10 12:50:06 +07:00
scottjehl
3ec1085b70
removed old comment
2012-01-10 12:50:06 +07:00
scottjehl
c0e635bf72
removed flip in rules, no longer in use
2012-01-10 12:50:06 +07:00
scottjehl
3bf147e10b
cleaned these up so only the right rules are in the right files
2012-01-10 12:50:05 +07:00
scottjehl
3fdaa38bd7
whitespace
2012-01-10 12:50:05 +07:00
scottjehl
d854f81376
moved ui-viewport-transitioning rules into here
2012-01-10 12:50:05 +07:00
scottjehl
5012030885
updated comment to credit jqTouch for original transitions ideas, though these are now quite different
2012-01-10 12:50:05 +07:00
scottjehl
9cd79a6adb
missed slide in the new transitions file split out
2012-01-10 12:50:05 +07:00
scottjehl
c37ad79ed0
updated make and concat files for new transition handler
2012-01-10 12:50:05 +07:00
scottjehl
bc2b4faf0b
renamed the new transition handler transition.js
2012-01-10 12:49:52 +07:00
scottjehl
edfafbf5d7
split transition CSS into separate files.
2012-01-10 12:49:21 +07:00
scottjehl
f31b792096
tweaked scale and duration of some flip and pop transitions
2012-01-10 12:48:58 +07:00
scottjehl
7d34652a07
dontmove is no longer in use
2012-01-10 12:48:58 +07:00
scottjehl
c471857595
not needed, as flip already uses fade now in the "in" transition.
2012-01-10 12:48:58 +07:00
scottjehl
fd236692ea
lowercased
2012-01-10 12:48:58 +07:00
scottjehl
5e0d37dfa8
for non-3d browsers, use fade instead of flip
2012-01-10 12:48:58 +07:00
scottjehl
f72eb291f6
woops. add it whether it's supported or not :)
2012-01-10 12:48:57 +07:00
scottjehl
965f7e2681
add class for 3d transform support
2012-01-10 12:48:57 +07:00
scottjehl
0cafec13bd
fixed a typo in the query
2012-01-10 12:48:57 +07:00
scottjehl
f80d855847
Added a feature test for css 3d transforms, which will allow us to conditionally apply the flip transition (AKA cartwheel, where unsupported).
2012-01-10 12:48:57 +07:00
toddparker
52c44937e7
Updated -moz out to match
2012-01-10 12:48:57 +07:00
toddparker
3b8e4cb8b6
Broke out the global and in and out transition rules for asymmetric timing
...
Also added duplicate buttons at the booth to test scroll position
smoothness.
2012-01-10 12:48:57 +07:00
scottjehl
949b919abf
rolled that last one back.
2012-01-10 12:48:57 +07:00
scottjehl
ba2da4dac7
a little faster on the fades. needs cleanup later
2012-01-10 12:48:57 +07:00
scottjehl
44482cd79c
removed spin because we aren't using it no mo
2012-01-10 12:48:57 +07:00
scottjehl
27f81a0ef0
updated the slide and flip handlers to use combo fade/slide/flip transitions
2012-01-10 12:48:57 +07:00
scottjehl
770979698e
fixed up the pop out transition for outin handler
2012-01-10 12:48:57 +07:00
scottjehl
72fe72f772
added new filename to make and combiner files
2012-01-10 12:48:57 +07:00
scottjehl
86dfe99a1b
changed filename
2012-01-10 12:48:40 +07:00
scottjehl
42bcd90a47
changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically.
2012-01-10 12:48:40 +07:00
scottjehl
d01da49798
brought back the height settings, and fixed a typo between addClass and removeClass
2012-01-10 12:48:40 +07:00
scottjehl
cb151b5d9a
don't use pre transitioning class, or viewport class for this transition handler. Instead, activate page early, then scroll to desired spot, and transition in. In order to make this work, I had to add an argument to the end of the promise, letting navigation know that the page is already focused, so don't do it over again. This should make for a smooth transition from point-a to point-b, without a visible scroll jump. Needs testing!
2012-01-10 12:48:39 +07:00
scottjehl
f46135b6fd
add back viewport transitioning class
2012-01-10 12:48:39 +07:00
scottjehl
cb49d27006
don't scroll at the end. scroll halfway through instead
2012-01-10 12:48:39 +07:00
scottjehl
a73e04bf19
an attempt at simplification. not there yet...
2012-01-10 12:48:22 +07:00
scottjehl
80b5cad7b8
removed unused image
2012-01-10 12:48:22 +07:00
Todd Parker
ac94b063b0
Loader design tweaks
...
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-10 12:48:05 +07:00
scottjehl
594eb7b37c
added fade out in transition handler
2012-01-10 12:44:42 +07:00
scottjehl
9afa2eaa5e
changed filename
2012-01-10 12:43:11 +07:00
scottjehl
9aea79e744
changed plugin name to outInTransitionHandler, as the sequence has nothing to do with "fade" specifically.
2012-01-10 12:43:11 +07:00
Todd Parker
71a84e8c62
Add -moz prefixes for initial cut at Firefox transition support
2012-01-10 12:43:11 +07:00
Todd Parker
ae0ad6ff8a
Shorter fade out (150ms) and fade in (300ms) for speedier transitions.
2012-01-10 12:43:11 +07:00
scottjehl
10a65c9d78
brought back the height settings, and fixed a typo between addClass and removeClass
2012-01-10 12:43:11 +07:00
Todd Parker
cbcc523e64
Faster spinner animation
...
Was 4ms per frame, now 3ms.
2012-01-10 12:43:11 +07:00
scottjehl
445d11c704
don't use pre transitioning class, or viewport class for this transition handler. Instead, activate page early, then scroll to desired spot, and transition in. In order to make this work, I had to add an argument to the end of the promise, letting navigation know that the page is already focused, so don't do it over again. This should make for a smooth transition from point-a to point-b, without a visible scroll jump. Needs testing!
2012-01-10 12:43:11 +07:00
scottjehl
955a37f1e8
add back viewport transitioning class
2012-01-10 12:43:10 +07:00
scottjehl
1bae528dc0
no need for pre-transition class
2012-01-10 12:43:10 +07:00
scottjehl
c72595c462
don't scroll at the end. scroll halfway through instead
2012-01-10 12:43:10 +07:00
scottjehl
0a267cea64
position loader fixed by default, then check if it's positioned correctly and if not, switch to an absolute positioned scheme, with updates on scroll (or scrollstop in iOS 4).
2012-01-10 12:43:10 +07:00
Todd Parker
41d63056c6
All new loader hotness
...
Created a new loader that has a circle baked into the animated gif so
there's less of a chance of artifacts in bad browsers. The edge is
chunky because it's a gif but then added 1px of padding to the loader
parent and that the border-radius can smooth this out in iOS. Actually
looks sharp in Android too because of interaction effects between these
rounded corners. Loader spin is faster and more compressed (16 colors).
Removed the body-a class on the spinner since we're just setting this to
flat black = one less gradient to render.
2012-01-10 12:43:10 +07:00
scottjehl
47bf7a9d38
an attempt at simplification. not there yet...
2012-01-10 12:43:10 +07:00
scottjehl
0a3be2ecf3
default transition type goes to fade
2012-01-10 12:43:10 +07:00
scottjehl
41bc37990a
for now, removed any difference between framework transition defaults and the docs. We might want to bring this back and recommend it though - I'm not sure how easy it'll be to bring it in standard with the ability to configure.
2012-01-10 12:43:10 +07:00
scottjehl
19941f8e9f
removed unused image
2012-01-10 12:43:10 +07:00
Todd Parker
8c4bc2fad8
More loader tweaks
2012-01-10 12:43:10 +07:00
Todd Parker
dac79b5cfa
Loader design tweaks
...
Removed the spin class from the loader container, tweaked opacity and
added slight glow to bottom of loader, increased padding. Downloaded a
fresh loader image.
2012-01-10 12:43:09 +07:00
scottjehl
c1cdb0a1a8
added loader test page for local testing
2012-01-10 12:43:09 +07:00
scottjehl
12c5da43a8
gif loader style updates
2012-01-10 12:43:09 +07:00
scottjehl
9a410f57fa
gif loader styles
2012-01-10 12:43:09 +07:00
scottjehl
b820de1afc
removed code to set css3transitionhandler as the default
2012-01-10 12:43:09 +07:00
scottjehl
0bfacce751
hard-set opacity for "out" to prevent blinks
2012-01-10 12:43:09 +07:00
scottjehl
f5dd6fb8ea
added fade out in transition handler file
2012-01-10 12:43:09 +07:00
scottjehl
597e6bd07a
added fade out in transition handler
2012-01-10 12:40:23 +07:00
scottjehl
bcf8746d77
gif-based loader animation
2012-01-10 12:40:23 +07:00
scottjehl
195d4dc47e
removed commented out line
2012-01-10 12:40:23 +07:00
scottjehl
821df23a7d
Much of the scripting in nav.js's transitionPages function was tied to the animation sequence for our css3transitionhandler. For example, the order was, scroll to top, run transitions, then scroll to the remembered location of the new page (there's more involved, but that's the gist of it). If we want to expand beyond this sequence, much of that scripting needs to move to the css3transitionhandler itself, and also to our "none" transition handler, which comes with nav model.
...
This commit moves all that logic into the transition handlers, and should provide a better starting point for adding different transition sequences, such as fade-out, scroll, fade-in.
In the process of making this change, the reFocus function was made public as $.mobile.focusPage.
2012-01-10 12:40:23 +07:00
Garann Means
c0dbecc855
fix for #3141 - redirect from button() and buttonMarkup() to correct function for element
2012-01-09 23:38:12 -06:00
Ghislain Seguin
2ba27e0adc
Fixes #3394 - jquery.mobile.init was not being included in the built bundle
2012-01-09 11:01:07 -08:00
Todd Parker
69983f7907
Merge pull request #3365 from fredefl/master
...
Fixed a typo and optimized images even more.
2012-01-07 15:23:04 -08:00
Ghislain Seguin
42c9409660
Fixed wrong line break
2012-01-06 17:14:48 -08:00
Mat Marquis
d7afc8aa78
Added download builder metadata.
2012-01-06 19:31:31 -05:00
John Bender
cf611bc1c7
conceding defeat on determining the load order issue that's causing the test failure
2012-01-06 15:27:21 -08:00
John Bender
f60dd96178
remove duplicate test run
2012-01-06 15:27:21 -08:00
John Bender
12f112d6d4
check to make sure cached test page appears
2012-01-06 15:27:21 -08:00
Ghislain Seguin
cc54ede5f0
Merge pull request #3385 from eddiemonge/patch-13
...
increase java cache size
2012-01-06 11:44:06 -08:00
jblas@adobe.com
f0cc30719d
Corrected the title for the functional test.
2012-01-06 10:23:54 -08:00
jblas@adobe.com
1a5224047b
Fix for issue #2933 - get_orientation() and hence getScreenHeight() doesn't work on some devices
...
It seems that some device/browser vendors use window.orientation values 0 and 180 to denote the "default" orientation. For iOS devices, and most other smart-phones tested, the default orientation is always "portrait", but in some Android and RIM based tablets, the default orientation is "landscape".
- Modified the orientationchange plugin so that it injects a landscape orientation media query into the document to figure out what the initial orientation is, it then makes adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
2012-01-06 10:19:04 -08:00
John Bender
3cea545f73
enforce test order ... dying a little inside
2012-01-05 14:23:17 -08:00
Eddie Monge Jr.
23b2d7f0b4
increase java cache size
2012-01-05 11:55:34 -08:00
John Bender
8cbbb8076d
remove submodule update note
2012-01-05 11:14:37 -08:00
John Bender
4624dcfa13
vendor r.js and require.js
2012-01-05 10:36:50 -08:00
John Bender
a9daa06158
remove requirejs and r.js submodules in favor of vendoring the libraries
2012-01-05 10:32:46 -08:00
John Bender
98ed3fc31b
add submodule update/init to readme
2012-01-04 16:00:41 -08:00
John Bender
3c2bfaca8a
remove define stub, it's now stubbed through including jquery.mobile.define.js in js/index.php
2012-01-04 14:26:03 -08:00
John Bender
0b1829967d
obviate the need for stub definition of define when using vanilla /js require
2012-01-04 14:21:57 -08:00
John Bender
ea01f9f960
update functional tests to use requirejs
2012-01-04 14:04:18 -08:00
John Bender
bafd0cdf9f
add ui-mobile-rendering to docs to temprarily prevent fouc with async load. @gseguin to address with jqm-docs.js change
2012-01-04 13:59:17 -08:00
John Bender
22504c7613
switch to explicit false check to avoid undefined issues
2012-01-04 13:14:43 -08:00
John Bender
b47d9ba24e
fix async loading select test issue where keepnative isn't defined in time for the leading test
2012-01-04 13:13:24 -08:00
John Bender
95073892f0
Merge branch 'amd'
2012-01-04 12:24:33 -08:00
John Bender
db42f18ed5
note about fouc
2012-01-04 12:00:17 -08:00
John Bender
c9eed4e8b7
whitespace in readme
2012-01-04 11:59:02 -08:00
John Bender
e26d7de1a9
added note about local server support for development
2012-01-04 11:58:46 -08:00
John Bender
8ea0bddccc
ensure defaultTransitionHandler is defined after the navigation has been loaded
2012-01-04 11:46:35 -08:00
John Bender
6e8433d395
ensure defaultTransitionHandler is defined after the navigation has been loaded
2012-01-04 11:38:32 -08:00
John Bender
223ad8daab
move to reloadModule as it returns a deferred
2012-01-04 11:26:36 -08:00
John Bender
bda2834acc
make sure the slider core runs before init to set keepNative properly
2012-01-04 11:23:21 -08:00
John Bender
0a48b9168f
update select cached tests to use async
2012-01-04 11:10:04 -08:00
John Bender
dc3e42ec86
update listview pushstate test to use async
2012-01-04 11:08:21 -08:00
John Bender
912a7e852f
init test order and other small fixes
2012-01-04 11:05:52 -08:00
John Bender
739452ded0
fixed listview tests async loading
2012-01-04 09:45:36 -08:00
Mat Marquis
573fcf8668
Updating select menu tests to match recent dialog markup changes.
2012-01-04 12:35:13 -05:00
John Bender
16391e4af9
stub define in event tests
2012-01-04 09:10:52 -08:00
John Bender
81d1f6f282
stubbed define in nav tests
2012-01-04 08:56:35 -08:00
Mat Marquis
f5794cf7c8
Fixing navigation bug caused by dialog markup changes.
2012-01-04 11:27:52 -05:00
John Bender
9c7e1b755f
fix url checks to use search where appropriate
2012-01-04 08:02:31 -08:00
Mat Marquis
a502b0d831
Applied top margin to dialog headers rather than .ui-dialog, as the latter was breaking content-only dialogs meant to align with the top of the viewport.
2012-01-03 18:16:35 -05:00
Mat Marquis
9b3aefae84
Moved .ui-dialog to element wrapping dialog header/content/footer, switched overlay non-theming class to .ui-dialog-page.
2012-01-03 18:16:29 -05:00
Mat Marquis
1ffc6b007e
Partial dialog refactor, in progress.
2012-01-03 18:16:23 -05:00
John Bender
d82b6aacfc
update nav base tests to use new push state helper
2012-01-03 14:13:56 -08:00
Todd Parker
ac2f50bdda
Merge pull request #3363 from chetankjain/patch-3
...
data-id is not used in Pages and Dialogs. Thanks chetankjain!
2012-01-03 08:56:46 -08:00
Frederik Lassen
1ae23973f0
Optimized the images even more. (Using ScriptPNG)
2012-01-01 23:17:53 +01:00
Frederik Lassen
d6184ef6ec
Corrected tiny typo.
2012-01-01 23:10:30 +01:00
Todd Parker
afb18eaaa2
Merge pull request #3362 from chetankjain/patch-2
...
Update docs/about/getting-started.html
2012-01-01 07:16:32 -08:00
Todd Parker
d7b2a7f66f
Merge pull request #3361 from chetankjain/patch-1
...
Update docs/pages/page-anatomy.html
2012-01-01 07:16:03 -08:00
Chetan K Jain
d7d38dca7e
data-id is not used in Pages and Dialogs
2012-01-01 20:33:30 +05:30
Chetan K Jain
96b2b48f0b
Update docs/about/getting-started.html
2012-01-01 20:01:22 +05:30
Chetan K Jain
b4ee437ca3
Update docs/pages/page-anatomy.html
2012-01-01 19:54:21 +05:30
Mat Marquis
5b9ca5caf0
Ensured the hover delay only applies to touch devices, logic that was mysteriously absent from my previous commit.
2011-12-30 15:58:56 -05:00
Mat Marquis
171be28a22
Added slight delay before application of hover/down classes on touch devices, to prevent unintentional hover-ish behavior when the user intent is to scroll.
2011-12-30 15:24:46 -05:00
Mat Marquis
bb2a578d6e
Merge pull request #3278 from MaZderMind/fix-touchOverflow-with-lists
...
fix position of searchbar in touchOverflow mode
2011-12-30 10:42:16 -08:00
Todd Parker
597c25ac4a
Merge pull request #3355 from agcolom/patch-52
...
added navbar
2011-12-30 07:17:28 -08:00
Anne-Gaelle Colom
80737f333a
added navbar
2011-12-30 13:46:16 +00:00
Todd Parker
f57072fa7b
Merge pull request #3326 from TylerBenziger/master
...
Gradient Syntax Fix
2011-12-29 15:16:25 -08:00
zachleat
e29320e711
This might be a little overzealous, but I think the outline around the entire flip switch looks better than the clipped handle outline.
2011-12-29 16:26:45 -05:00
zachleat
c4191d9bf6
Fix for browsers with JavaScript but without box-shadow enabled. outline: 0; outline-width: 2px; doesn't work, requires an outline-style to be set.
2011-12-29 16:26:45 -05:00
zachleat
328bbec94a
Per @toddparker's comment, added boxshadow to link buttons. Also changed focus class on sliders to add to the handle, while excluding the toggle switch.
2011-12-29 16:26:45 -05:00
zachleat
bf58b38cb8
Nerf, you guys use tabs.
2011-12-29 16:26:45 -05:00
zachleat
07efc02c9f
First stab at more consistent focus classes on form elements, using .ui-focus. Links will still contain outline property.
2011-12-29 16:26:44 -05:00
Mat Marquis
de7040047c
Merge pull request #3352 from jakeboone02/issue-3350
...
Remove ui-btn-down class on scrollstart
2011-12-29 09:25:35 -08:00
Jake Boone
13cb24e586
Remove ui-btn-down class on scrollstart
2011-12-29 11:13:54 -05:00
Mat Marquis
60bc3fc06b
Merge pull request #3344 from garann/master
...
Corrected fix for #3262 so it doesn't prevent buttons filling available space.
2011-12-29 07:45:17 -08:00
Ghislain Seguin
c5415307ba
Fixed checkboxradio tests
2011-12-28 14:08:18 -08:00
Ghislain Seguin
1c284c1f9c
Merge pull request #3349 from agcolom/patch-51
...
Update docs/forms/switch/options.html
2011-12-28 13:20:40 -08:00
Ghislain Seguin
cd618a266a
Merge pull request #3348 from agcolom/patch-50
...
Update docs/forms/slider/options.html
2011-12-28 13:20:16 -08:00
Anne-Gaelle Colom
029ebc2cb7
Update docs/forms/switch/options.html
2011-12-28 21:16:43 +00:00
Anne-Gaelle Colom
39d4d86c7c
Update docs/forms/slider/options.html
2011-12-28 21:13:54 +00:00
Garann Means
7a0addfd8f
Corrected fix for #3262 so it doesn't prevent buttons filling available space
2011-12-27 12:00:13 -06:00
Ghislain Seguin
be0794dfd8
Forgot to add rhino, there it is
2011-12-27 09:21:19 -08:00
scottjehl
a75f4d1361
removed debug line
2011-12-27 21:07:50 +07:00
scottjehl
a89f2989eb
blacklisted Opera Mobile from fixies
2011-12-27 20:51:29 +07:00
scottjehl
273642e2bc
cleaned up the opt-out formatting and added Fennec < 6 and WebOS < 3.
2011-12-26 21:29:29 +07:00
scottjehl
ca3f67981e
Blocked out Android 2.1 and older, running Webkit version older than 233 (the one that comes with 2.2)
2011-12-26 19:30:09 +07:00
scottjehl
b3a96dc327
Merge remote branch 'origin/css-fixed' into css-fixed
2011-12-26 18:44:52 +07:00
scottjehl
10ff3dbe13
clarified distinction on overflow between pages with fixed toolbars and pages without, and removed native-fixed class (old)
2011-12-26 16:53:56 +07:00
scottjehl
d954a19a8d
removed margin overrides when overflow scrolling is in play
2011-12-26 16:32:59 +07:00
scottjehl
207264a370
removed listview margin overrides when overflow scrolling is in play.
2011-12-26 16:32:38 +07:00
scottjehl
d47dd88e0a
listview related fixed style moved to listview plugin and out of core
2011-12-26 16:30:30 +07:00
scottjehl
f779416c8d
moved touchOverflowEnabled setting to global config, class is applied through page plugin. False by default. No longer dependent on fixed headers and footers.
2011-12-26 16:30:00 +07:00
scottjehl
a00c05109b
removed old class qualification for overflow scrolling margin overrides on listviews
2011-12-26 16:04:47 +07:00
scottjehl
ef37e9fde8
z-index of buttons within fixed headers -moved to specific class
2011-12-26 16:03:30 +07:00
scottjehl
d16da24e0e
removed qualification of img { max-width: 100%; } to only fullscreen settings - now global within framework.
2011-12-26 16:01:57 +07:00
Ghislain Seguin
c8d88a2f3a
Renamed .tmp temp file to .compiled
2011-12-24 20:06:54 -08:00
Ghislain Seguin
b74d20e735
Got rid of node dependency
2011-12-24 20:02:29 -08:00
Mat Marquis
138547c28a
Merge pull request #3334 from garann/master
...
Fix for overlapping header/footer buttons
2011-12-24 18:09:30 -08:00
Garann Means
dde96bd026
Fix for #3262 - set max-width for header/footer buttons and title
...
Text-overflow: ellipsis already set.
2011-12-24 19:49:45 -06:00
Ghislain Seguin
83de694e9f
Reverted unwanted changes
2011-12-24 00:51:39 -08:00
Ghislain Seguin
0bd10de3e8
Added require.js 1.0.3 as a submodule
2011-12-24 00:48:08 -08:00
Ghislain Seguin
f7e0f51230
Added r.js as a submodule
...
Removed almond
2011-12-24 00:37:15 -08:00
Todd Parker
aaeacae9e0
Merge pull request #3329 from gabrielschulhof/fix-custom-select-menu-position-in-IE8
...
Fix custom select menu popup positioning in IE8
2011-12-23 11:04:57 -08:00
Gabriel Schulhof
3b22bbf9fb
[custom select] Use $(window).width() and not window.innerWidth - same for height
2011-12-23 16:09:50 +02:00
Tyler Benziger
297b6f3a78
gradient syntax fix
2011-12-22 22:51:30 -08:00
Tyler Benziger
5c7c7932a2
gradient syntax fix
2011-12-22 22:49:10 -08:00
Ghislain Seguin
42190caef2
AMDized
2011-12-22 17:32:01 -08:00
Ghislain Seguin
bd6eaba5e8
Changed $.extend to be non destructive
2011-12-22 17:31:50 -08:00
Ghislain Seguin
d97118d891
Added $.testHelper.deferredSequence
...
Renamed reloadLib to reloadModule
Resuscitated $.testHelper.reloadLib
2011-12-22 17:31:11 -08:00
Ghislain Seguin
05068af414
Expose jquery.mobile as an AMD module if running in an AMD env
2011-12-22 15:52:34 -08:00
Todd Parker
5763a79545
Merge pull request #3321 from jakeboone02/patch-6
...
Move back button configuration options to Page section. Thanks for the fix @jakeboone. Fixes #3320 .
2011-12-22 12:52:07 -08:00
Jake Boone
7403ed9e43
Move back button configuration options to Page section
2011-12-22 15:39:06 -05:00
Ghislain Seguin
1bbd67bc98
Remove .js suffix from libName
2011-12-22 10:44:08 -08:00
Ghislain Seguin
db5a919928
Use new testHelper.reloadLib
2011-12-22 09:55:07 -08:00
Ghislain Seguin
b249dbe519
Changed reloadLib to use requirejs' context. That process being async it now returns a $.Deferred
2011-12-22 09:54:34 -08:00
Ghislain Seguin
a3392bc0ff
Remove .js suffix from libName
2011-12-22 09:53:26 -08:00
Ghislain Seguin
22c6409f63
AMDized
2011-12-22 09:49:33 -08:00
Ghislain Seguin
a5d56000d4
Added dep on buttonMarkup
2011-12-22 09:48:51 -08:00
Todd Parker
a797de5fc1
Merge pull request #3318 from jakeboone02/patch-5
...
Use shorthand notation for margin
2011-12-22 09:07:20 -08:00
Jake Boone
0c1bba494b
Use shorthand notation for margin
2011-12-22 11:56:50 -05:00
Tyler Benziger
0c13d8a81a
Gradient syntax fixed
2011-12-21 23:30:46 -08:00
toddparker
2c2f830b48
More tweaks to the sliders to fit well at 320px
2011-12-21 23:36:57 -05:00
toddparker
29fdb304eb
Tweaked slider to be a bit wider
...
Checked to ensure this fits in inset lists
2011-12-21 23:14:12 -05:00
toddparker
0f36a0eefd
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-12-21 22:48:45 -05:00
toddparker
e476ea615f
Tightened up vertical spacing for form field containers at smartphone widths
...
There was more spacing between elements than needed, this cleans it up.
2011-12-21 22:48:39 -05:00
toddparker
055e15e84f
Tweaked fieldset border rules so field contains work with this element. Fixes #2448
2011-12-21 22:40:41 -05:00
Ghislain Seguin
c58022c8ff
AMDized
2011-12-21 16:41:43 -08:00
Ghislain Seguin
3f05a5e12c
Named the module for testability
2011-12-21 16:41:27 -08:00
toddparker
140ee9cbba
Changed the z-index of the slider handle from 10 and 20 to 1 for both types to prevent it from running over the fixed toolbars
2011-12-21 18:14:41 -05:00
Ghislain Seguin
67df0cdf10
Minimized imported resources
...
Added css links
2011-12-21 14:41:48 -08:00
Ghislain Seguin
dba47fee54
Fixed test name
2011-12-21 14:41:19 -08:00
Ghislain Seguin
5c4c62e5e5
AMDized
2011-12-21 14:39:45 -08:00
Ghislain Seguin
2f43368fda
Trailing comma
2011-12-21 14:37:43 -08:00
Ghislain Seguin
4bb45a9b70
Minimized imported resources
2011-12-21 14:35:14 -08:00
Ghislain Seguin
ee91030bb3
AMDized
2011-12-21 14:29:09 -08:00
Ghislain Seguin
9b2e407fdd
Added dep on page and page.sections (for nested lists)
2011-12-21 14:28:42 -08:00
Ghislain Seguin
83cd583e33
Added dep on textinput
2011-12-21 14:22:21 -08:00
Ghislain Seguin
69d69092d5
AMDized
2011-12-21 13:59:48 -08:00
Ghislain Seguin
2c38391171
AMDized
2011-12-21 13:43:48 -08:00
Ghislain Seguin
ba6c4dd8c8
AMDized
2011-12-21 13:36:59 -08:00
Ghislain Seguin
185ea02809
AMDized
2011-12-21 11:54:12 -08:00
Ghislain Seguin
4f6e082875
Added dep on grid
2011-12-21 11:54:00 -08:00
Ghislain Seguin
65c1d48e47
Use .js convention provided by requirejs
2011-12-21 11:50:46 -08:00
Ghislain Seguin
4e60cd57f2
AMDized
2011-12-21 11:46:11 -08:00
Ghislain Seguin
2a2ebfa55a
Make sure controlGroup is loaded after checkboxradio (via order plugin)
2011-12-21 11:46:11 -08:00
John Bender
5158cbf4ce
remove base url juggling in favore of .js convention provided by requirejs
2011-12-21 11:30:46 -08:00
John Bender
dc203029a3
update dialog tests to use amd
2011-12-21 08:13:24 -08:00
John Bender
94b6e9c8da
upgrade degrade inputs tests to use amd, whitespace
2011-12-21 08:03:15 -08:00
John Bender
981a210d78
update core tests to use amd, fix misleading test
2011-12-21 07:58:11 -08:00
John Bender
0d7a3b9014
update control group tests to use amd
2011-12-20 23:06:40 -08:00
John Bender
38bd74cc95
remove unecessary collapsible test dep
2011-12-20 23:06:15 -08:00
John Bender
790e0439d1
update collapsible tests to use amd
2011-12-20 22:53:32 -08:00
John Bender
e778924de3
update checkboxradio tests to use amd
2011-12-20 22:49:16 -08:00
John Bender
88c22906a4
update buttonMarkup tests to amd
2011-12-20 22:43:25 -08:00
John Bender
1e4be460c2
update button core tests to amd
2011-12-20 22:24:03 -08:00
John Bender
37fdf3a7ca
added note to test helper
2011-12-20 17:08:02 -08:00
John Bender
af50e19b1f
page test moved to async load, fix for bad assumption in return false test
2011-12-20 17:02:43 -08:00
John Bender
810edd8472
more flexible async loading helper, converted select test
2011-12-20 17:01:16 -08:00
John Bender
621348b05b
fix bug to allow pagebeforecreate bindings to prevent enhancement
2011-12-20 16:58:23 -08:00
John Bender
e466f6844c
whitespace in page core tests
2011-12-20 16:33:38 -08:00
John Bender
b0c1acae4d
alter select index tests to use async load
2011-12-20 15:02:09 -08:00
John Bender
5469442ad3
async test library load helper
2011-12-20 15:01:28 -08:00
John Bender
d6a5a00ebd
added page and page section dependencies to custom select
2011-12-20 14:29:35 -08:00
John Bender
30b4727138
added dialog to custom select deps
2011-12-20 13:47:29 -08:00
John Bender
b35a9fa9ce
alpha order deps
2011-12-20 13:29:02 -08:00
John Bender
f45aae07b7
add transition dep to navigation
2011-12-20 12:54:05 -08:00
John Bender
95f7151c8e
add page and listview dep to custom select
2011-12-20 12:53:04 -08:00
Ghislain Seguin
14e1641a27
Added dep on "jquery.mobile.buttonMarkup" wherever needed
2011-12-20 11:33:55 -08:00
Ghislain Seguin
bd02b93df6
Added temporary dependency on mobile.widget
2011-12-20 11:25:39 -08:00
jblas@adobe.com
833526e18f
Fix for issue #3305 - Confusing documentation about dataUrl in changePage
...
- Changed 'data-url' to 'dataUrl' to match actual implementation.
2011-12-20 09:50:33 -08:00
Gabriele Rabbiosi
3c57f57e08
Substituted wrong semicolon with comma inside a list of variable
...
declaration
2011-12-20 08:17:27 -08:00
scottjehl
5de358b8a5
make sure all page classes are removed at destroy
2011-12-20 17:45:38 +07:00
scottjehl
aae2d1b22c
ensure tapping the toolbar itself (or something in it) will not trigger a toggle of the toolbars.
2011-12-20 17:44:20 +07:00
scottjehl
b70832981d
fixed up the failing unit test by ensuring the toolbars were shown before testing for transition classes.
2011-12-20 17:38:06 +07:00
scottjehl
68e7bc562d
changed any tests that used :visible or :hidden, because the toolbars are now hidden with absolute positioning, and are aways visible. Instead, checked for presence of hide class.
2011-12-20 17:38:06 +07:00
scottjehl
05d01e70fe
Created 33 unit tests for the base features and methods of the fixedtoolbar plugin. 5 tests are currently failing due to a change in logic in the show/hide methods. Those tests just need adjusting, as the feature itself is currently working.
2011-12-20 17:38:05 +07:00
scottjehl
d442a0bc0f
removed commented-out code for polyfilling fixed support - it wouldn't have worked as we'd want it to anyway.
2011-12-20 17:38:05 +07:00
scottjehl
6bc63b7f09
fixed the page class name for fullscreen to include "header" or "footer". Also improved the show and hide methods so that they don't apply a transition when showing or hiding a toolbar that is fixed (not fullscreen) when the user is scrolled to the top or bottom of the viewport already.
2011-12-20 17:38:05 +07:00
scottjehl
ba484f2e83
The ui-fixed-hidden class now switches the toolbar's positioning to "absolute" when hidden. This allows a hidden fixed toolbar to still be visible if you scroll to top. Fullscreen toolbars are hidden with a negative left value as well, so that they're entirely off screen.
2011-12-20 17:38:05 +07:00
scottjehl
16f73e737f
removed the hideOnScrollStop option and feature - too complicated for a default option. Might be worth supporting as an extension though.
2011-12-20 17:38:05 +07:00
scottjehl
deadbe67b2
changed scrollToggle to hideOnScrollStop, which does just that. It only works if tapToggle is true, so that once hidden, the bar can be toggled visible again with a tap.
2011-12-20 17:38:05 +07:00
scottjehl
6aa3e384fe
fixed the restorePageZoom method so that it does what it says on the tin.
2011-12-20 17:38:05 +07:00
scottjehl
32a2e34e07
patched up support for transition: "none" rather than false, for consistency with other uses of the option in jQM.
2011-12-20 17:38:05 +07:00
scottjehl
103f409c47
added new script and associated styles for handling "fixed" toolbars using native support for CSS position: fixed, where possible. Non-supporting platforms will fall back to inline positioning, either by gracefully degrading on their own or by opting them out through a blacklist (fixed positioning detection's got issues...).
...
unit tests and api documentation coming next, but for the most part, the API is the same as before.
2011-12-20 17:38:05 +07:00
scottjehl
69324e31f0
removed disablezoom function from init
2011-12-20 17:38:05 +07:00
scottjehl
b7bd8b0451
removed fixHeaderFooter files
2011-12-20 17:38:04 +07:00
John Bender
f904de98bf
fix improperly camel cased module references
2011-12-19 15:58:13 -08:00
John Bender
f5c5c9a19a
support 1.6.4 to 1.7.0 by defaulting to just props where the mouseHooks haven't been added
2011-12-19 13:14:42 -08:00
Todd Parker
286f8c35ff
Removed reference to data-role="dialog". Fixes #3294
2011-12-18 20:49:22 -05:00
Todd Parker
cb7918c3fd
Merge pull request #3297 from jakeboone02/patch-4
...
Add missing dd opening tag
2011-12-18 17:20:20 -08:00
Jake Boone
619d944201
Add missing dd opening tag
2011-12-17 15:43:19 -05:00
Todd Parker
34c53b5fe7
Merge pull request #3272 from agcolom/patch-48
...
Update docs/forms/selects/options.html. Fixes #3256
2011-12-16 11:53:49 -08:00
Todd Parker
de0573e175
Merge pull request #3271 from agcolom/patch-47
...
Update docs/forms/selects/index.html. Fixes issue #3256
2011-12-16 11:52:48 -08:00
Todd Parker
8d3744b00c
Merge pull request #3283 from agcolom/patch-49
...
Update docs/api/data-attributes.html
2011-12-16 11:48:47 -08:00
Ghislain Seguin
e4bf0b1a8e
Merge remote branch 'upstream/master' into amd
...
Conflicts:
js/jquery.mobile.hashchange.js
2011-12-15 23:31:35 -08:00
Ghislain Seguin
1f8c9ec832
Fixed casing
2011-12-15 23:07:58 -08:00
Ghislain Seguin
86cd1e4932
Added handling of pragmasOnSave from command line
2011-12-15 22:36:11 -08:00
Ghislain Seguin
ab72921d19
Reverted unwanted changes
2011-12-15 18:26:57 -08:00
Ghislain Seguin
7233f6135e
Re-added r.js & require.js
2011-12-15 18:17:07 -08:00
Ghislain Seguin
57a1129bfb
Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js
2011-12-15 18:15:42 -08:00
John Bender
75b50f2c88
add mouse event props to virtual mouse events Fixes #3280
2011-12-15 15:40:07 -08:00
Anne-Gaelle Colom
5df1479b2c
Update docs/api/data-attributes.html
2011-12-15 23:24:27 +00:00
Ghislain Seguin
754cc81115
Specified more dependencies
2011-12-15 13:07:55 -08:00
MaZderMind
947a9e24ec
fix position of searchbar in touchOverflow mode
2011-12-15 19:42:59 +01:00
John Bender
c7e1bf0c14
update jquery to 1.7.1 Fixes #2965 , #3267
2011-12-15 10:35:53 -08:00
Ghislain Seguin
4b416c65cc
Revert "Up'd to 1.0.1pre"
...
This reverts commit 224c68e423 .
2011-12-15 09:50:51 -08:00
Mat Marquis
d05ba205e3
Fixes #3238 — Seems markup structure was changed at some stage, making the ‘aria-hidden=true’ attribute a little over-reaching. Removed.
2011-12-15 12:41:18 -05:00
Ghislain Seguin
224c68e423
Up'd to 1.0.1pre
2011-12-15 12:41:18 -05:00
Anne-Gaelle Colom
41da0d7f47
Update docs/forms/selects/options.html
2011-12-15 09:07:58 +00:00
Anne-Gaelle Colom
4a11404ebe
Update docs/forms/selects/index.html
2011-12-15 08:54:16 +00:00
Ghislain Seguin
f55cf4d7c4
Moved r.js and require.js to external
2011-12-14 15:31:33 -08:00
Ghislain Seguin
08b89551b2
Use original r.js, externalized stripping of define/require to amd-stripper.js
2011-12-14 15:08:25 -08:00
Ghislain Seguin
ad98a8f13b
Added amd-stripper.js
2011-12-14 15:07:06 -08:00
John Bender
15f1c6de66
wait to focus page header until after mobile rendering class is stripped Fixes #2965
2011-12-14 14:48:38 -08:00
Todd Parker
a9e6de3b4c
Merge pull request #3261 from jakeboone02/native-select-docs
...
Corrected native select menu documentation
2011-12-14 14:23:01 -08:00
Todd Parker
eae79651da
Merge pull request #3269 from agcolom/master
...
minor correction + one addition
2011-12-14 10:30:31 -08:00
Anne-Gaelle Colom
1c301a8b3e
Update docs/api/data-attributes.html
2011-12-14 18:19:37 +00:00
Anne-Gaelle Colom
be77ab47be
Update docs/api/globalconfig.html
2011-12-14 17:53:17 +00:00
Jake Boone
6b32ddf394
Corrected native select menu documentation
2011-12-13 14:36:01 -05:00
Todd Parker
504582e02f
Merge pull request #3251 from JFK99/master
...
Fix non reacting generated back buttons with touchOverflowEnabled. Fixes #3241 . Thanks JFK99
2011-12-12 14:35:17 -08:00
Nicolas Bartoli
30255d1fa2
Fixed non reacting generated back buttons with touchOverflowEnabled
2011-12-12 11:00:22 -08:00
jblas@adobe.com
16f1e47e7f
Initial checkin of config-props.html, a utility for quickly assessing the support property settings, for a given device/browser, as calculated by jQuery Core and jQuery Mobile.
2011-12-12 10:15:20 -08:00
John Bender
c716ab707a
take closestParentPage off of $.fn
2011-12-09 14:39:57 -08:00
John Bender
851f6d4c67
Merge pull request #3171 from eddiemonge/issue_3169.2
...
Not using YUI for js so removing this line
2011-12-09 14:00:59 -08:00
John Bender
5071221291
respect page loading times and comment on assumption in degradeInputs test
2011-12-09 12:52:53 -08:00
John Bender
def90bf230
whitespace in degradeInputs tests
2011-12-09 12:51:38 -08:00
John Bender
c49eac6e67
added commentary on selector perf and whitespace
2011-12-09 12:36:19 -08:00
John Bender
a80e4c3b4c
test that closestPageData works as expected
2011-12-09 12:31:49 -08:00
John Bender
978762dc67
centralized method for finding closest page data
2011-12-09 12:17:20 -08:00
John Bender
2b49d382d8
Merge branch 'master' of https://github.com/eromba/jquery-mobile into eromba-master
2011-12-09 11:50:15 -08:00
Ghislain Seguin
e2606bc690
Re-introduced structure CSS files
...
Use YUICompressor for CSS compression as it is more efficient than r.js
2011-12-08 14:22:23 -08:00
Ghislain Seguin
ca6fe9bede
Changed js and css targets to use r.js and r-jqm.js
2011-12-08 13:48:39 -08:00
Ghislain Seguin
aa1a3cdf49
Updated AMD stripping regexp
2011-12-08 13:48:07 -08:00
Ghislain Seguin
cf04068eba
Assume jquery is loaded so don't require it
2011-12-08 10:02:36 -08:00
Ghislain Seguin
2ece69afd5
Merge remote branch 'upstream/master' into amd
2011-12-07 15:45:36 -08:00
Ghislain Seguin
d45e4a1585
Not much, really
2011-12-07 15:44:13 -08:00
Ghislain Seguin
4d4866c017
Renamed r.js to r-jqm.js
2011-12-07 15:42:25 -08:00
Ghislain Seguin
ff25bcc662
Fixed deps
2011-12-07 15:42:08 -08:00
Ghislain Seguin
f37f9c72b3
Fixed deps
2011-12-07 15:41:40 -08:00
Ghislain Seguin
b79de8c168
use define instead of require
...
use order plugin for init (not ideal)
2011-12-07 15:40:25 -08:00
John Bender
1742820c17
removed dead code path in slider
2011-12-07 10:03:01 -08:00
John Bender
c45160973a
Merge branch 'eugenb1-patch-1'
2011-12-06 16:10:12 -08:00
John Bender
7a267e2c7d
test that the link title value is the selected option text
2011-12-06 16:09:52 -08:00
John Bender
c0b857ab5e
fixed closure compiler warning for missing while block
2011-12-06 15:56:28 -08:00
John Bender
3f9bca14a6
Revert "Merge pull request #3172 from eddiemonge/issue_3169.1"
...
This reverts commit 9e58b93cc5 , reversing
changes made to 97bad66016 .
2011-12-06 15:53:06 -08:00
John Bender
9066a0b932
Merge branch 'patch-1' of https://github.com/eugenb1/jquery-mobile into eugenb1-patch-1
2011-12-06 15:18:07 -08:00
John Bender
9e58b93cc5
Merge pull request #3172 from eddiemonge/issue_3169.1
...
Update IE checker code for compiler
2011-12-06 14:33:08 -08:00
Todd Parker
97bad66016
Merge pull request #3225 from agcolom/patch-46
...
Update docs/about/features.html
2011-12-06 07:35:06 -08:00
Anne-Gaelle Colom
e25a310063
Update docs/about/features.html
2011-12-06 15:23:19 +00:00
John Bender
cbaa42d63c
default emptry string val to 0 on refresh Fixes #3029
2011-12-05 15:38:25 -08:00
John Bender
5f6ce0d651
test that an empty string val results in the min attr value on refresh
2011-12-05 15:38:25 -08:00
Ghislain Seguin
f585df2f53
Merge pull request #3221 from agcolom/patch-45
...
Update docs/about/features.html
2011-12-05 06:28:55 -08:00
Anne-Gaelle Colom
574040b79d
Update docs/about/features.html
2011-12-05 11:42:05 +00:00
Kin Blas
b536eb5672
Merge pull request #3206 from luniki/master
...
List item pruning while filtering is wrong
2011-12-02 09:25:20 -08:00
Todd Parker
f7c7e90134
Merge pull request #3209 from agcolom/patch-43
...
Update docs/forms/selects/index.html
2011-12-02 09:14:31 -08:00
Anne-Gaelle Colom
6d22f9b977
Update docs/forms/selects/index.html
2011-12-02 17:03:57 +00:00
Todd Parker
09a001841e
Merge pull request #3204 from agcolom/patch-42
...
Update docs/forms/selects/index.html
2011-12-02 05:09:19 -08:00
Marcus Lunzenauer
98b6ea3fb4
fix list item pruning while filtering
2011-12-02 11:57:55 +01:00
Anne-Gaelle Colom
435fc61a8d
Update docs/forms/selects/index.html
2011-12-02 07:54:25 +00:00
Ghislain Seguin
07d21c6666
Actually need order! plugin for controlgroup at least
2011-12-01 17:28:11 -08:00
Ghislain Seguin
271fbeb109
Up'd to 1.0.2
2011-12-01 17:28:11 -08:00
Ghislain Seguin
6f77ee64a0
Added dep on jquery.mobile.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
cd9d8070ce
Added dep on jquery.mobile.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
dd562968d2
removeClass( "ui-link" ) on first anchor in the li
2011-12-01 17:28:11 -08:00
Ghislain Seguin
b72efb3bec
Removed dep on jqm.core
2011-12-01 17:28:11 -08:00
Ghislain Seguin
26df0afd45
Removed submodules
2011-12-01 17:28:10 -08:00
Ghislain Seguin
63da13b8f5
Removed ref to order
...
Added dir exclusion regex for build
2011-12-01 17:28:10 -08:00
Ghislain Seguin
0fa1cd188b
Not using order after all
2011-12-01 17:28:10 -08:00
Ghislain Seguin
0897ef0e96
Updated script tags to use RequireJS to load the jQM
2011-12-01 17:28:10 -08:00
Ghislain Seguin
3d4f524604
Moved $.support.mediaquery to jquery.mobile.media
...
Set dependencies
2011-12-01 17:28:10 -08:00
Ghislain Seguin
7a90116ee2
Specified dependencies
2011-12-01 17:28:10 -08:00
Ghislain Seguin
82162fe904
Added collapsibleSet
2011-12-01 17:28:10 -08:00
Ghislain Seguin
45c6b309cb
Added dep on vmouse
2011-12-01 17:28:10 -08:00
Ghislain Seguin
6b7e83effa
Added dep on jquery.mobile.buttonMarkup
2011-12-01 17:28:10 -08:00
Ghislain Seguin
00e62041ed
Added r.js
2011-12-01 17:28:10 -08:00
Ghislain Seguin
9bfb4b83f3
Whitespace change
2011-12-01 17:28:10 -08:00
Ghislain Seguin
276fd72b0e
Modified shimming condition
2011-12-01 17:28:10 -08:00
Ghislain Seguin
1f9e17172c
Added almond.js
2011-12-01 17:28:10 -08:00
Ghislain Seguin
5e19574165
Added RequireJS 1.0
2011-12-01 17:28:09 -08:00
Ghislain Seguin
e9e7b96d01
Removed
2011-12-01 17:28:09 -08:00
Ghislain Seguin
03878b7be8
Added module for docs
2011-12-01 17:28:09 -08:00
Ghislain Seguin
34ce8a8feb
Added jQuery AMD shim to support jQuery < 1.7
2011-12-01 17:28:09 -08:00
Ghislain Seguin
c1672dc654
Fixed path to almond.js
...
Excluded order plugin
2011-12-01 17:28:09 -08:00
Ghislain Seguin
84ad0153f5
Added @import to replace index.php
2011-12-01 17:28:09 -08:00
Ghislain Seguin
91fe1cf8ed
stop using require-jquery
2011-12-01 17:28:09 -08:00
Ghislain Seguin
46cd8f8436
added order plugin to the baseUrl directory
2011-12-01 17:28:09 -08:00
Ghislain Seguin
ff5f38a1f2
AMDized
2011-12-01 17:28:09 -08:00
Ghislain Seguin
970ba0432c
Moved to AMD
2011-12-01 17:28:08 -08:00
Ghislain Seguin
b32facdd1d
Use @imports instead of the PHP combine, r.js will take care of optimization
2011-12-01 17:28:08 -08:00
Ghislain Seguin
6d67f667cc
AMD build file
2011-12-01 17:28:08 -08:00
Ghislain Seguin
c76f3551b6
Main AMD module
2011-12-01 17:28:08 -08:00
Ghislain Seguin
6e0b17f19a
Added r.js v1.0
2011-12-01 17:28:08 -08:00
Ghislain Seguin
981f7567a7
Added requirejs v1.0
2011-12-01 17:28:08 -08:00
Ghislain Seguin
63292b805d
AMDized
2011-12-01 17:28:08 -08:00
Ghislain Seguin
7f14a3dfed
AMDized
2011-12-01 17:28:08 -08:00
Ghislain Seguin
c9b029e5df
Added almond as a submodule
2011-12-01 17:28:08 -08:00
Ghislain Seguin
16bd333755
Merge pull request #3199 from jakeboone02/patch-3
...
Spelling correction in jquery.mobile.fixHeaderFooter.js.
2011-12-01 13:35:42 -08:00
Jake Boone
1e669734c3
Spelling correction in jquery.mobile.fixHeaderFooter.js.
2011-12-01 15:33:18 -05:00
Ghislain Seguin
807f7bbe78
Merge pull request #3194 from lamaster/patch-1
...
fix typo
2011-11-30 13:59:27 -08:00
Lamaster
f63f492917
typo: until is written twice
2011-12-01 03:54:57 +06:00
Eugen Bolz
27f49f0dcf
Slider: use also option text as title
2011-11-29 08:35:18 +01:00
toddparker
3442eb88f0
Updated supported browsers to remove iOS form Opera Mobile, that was a typo
2011-11-28 17:43:32 -05:00
jblas@adobe.com
d9983d7390
Fix for #3185 - Dynamic Page load sample: In-Memory broken in IE7
...
- Removed trailing commas that choke IE from the docs.
2011-11-28 13:23:01 -08:00
jblas@adobe.com
ed05ff8509
Fix for #3185 - Dynamic Page load sample: In-Memory broken in IE7
...
- Removed trailing commas that choke IE.
2011-11-28 12:18:50 -08:00
toddparker
8975f5b9a0
Added initial-scale to the meta tags
2011-11-28 15:03:12 -05:00
Todd Parker
7637996b03
Merge pull request #3182 from lukeb/patch-1
...
Typo correction for "followin" to "following"
2011-11-28 05:44:05 -08:00
Luke Brookhart
83aaaea7de
Typo correction for "followin" to "following"
2011-11-28 02:32:34 -05:00
Ghislain Seguin
61eb97c8c1
Merge pull request #3181 from jakeboone02/touchoverflow-debug
...
Improve wording of touchOverflow debugging tip
2011-11-27 21:02:55 -08:00
Jake Boone
4de3b1c4d3
Improve wording of touchOverflow debugging tip
2011-11-27 23:57:42 -05:00
Todd Parker
beffb36856
Merge pull request #3178 from MaZderMind/fix-touchOverflow-with-lists
...
Fix touch overflow with lists. Thanks MaZderMind
2011-11-27 17:35:09 -08:00
Todd Parker
e35a758b38
Merge pull request #3179 from MaZderMind/document-touchOverflow-debugging
...
add doumentation about debugging touchOverflow
2011-11-27 17:33:23 -08:00
Peter
32c43cb85f
add doumentation about debugging touchOverflow
2011-11-27 22:46:28 +01:00
Peter
e3b58d272f
comparing somehow more with the normal mode showed, that the spacing is just 1em
2011-11-27 22:26:44 +01:00
Peter
a7303d870e
fix difference in spacing compared to classic mode
2011-11-27 22:16:18 +01:00
Peter
7e18890cd6
fix not-inset-list top position, while keeping inset-lists as they are in touchOverflow mode
2011-11-27 21:34:42 +01:00
Todd Parker
988c74b5bf
Merge pull request #3176 from agcolom/patch-41
...
Update docs/_assets/css/jqm-docs.css
2011-11-27 09:03:11 -08:00
Anne-Gaelle Colom
0b38378877
Update docs/_assets/css/jqm-docs.css
2011-11-27 16:36:19 +00:00
Todd Parker
2f5096f792
Merge pull request #3175 from agcolom/patch-40
...
Update docs/api/events.html
2011-11-27 08:21:32 -08:00
Anne-Gaelle Colom
3ab8406e41
Update docs/api/events.html
2011-11-27 15:03:34 +00:00
Todd Parker
d8efb8a4ef
Merge pull request #3174 from jakeboone02/patch-2
...
Make scope of <strong> tags match in data-filtertext examples
2011-11-26 19:24:24 -08:00
Jake Boone
c8b6a2dd6a
Make scope of <strong> tags match in data-filtertext examples
2011-11-26 22:22:52 -05:00
Ghislain Seguin
1f2b371a62
Merge pull request #3173 from agcolom/patch-39
...
Update docs/api/globalconfig.html
2011-11-26 14:15:40 -08:00
Anne-Gaelle Colom
114c978c34
Update docs/api/globalconfig.html
2011-11-26 22:14:26 +00:00
John Bender
50d1f9177a
Merge pull request #3168 from eddiemonge/issue_3159
...
Dont output errors to js file, increase cache size
2011-11-26 13:45:42 -08:00
Eddie Monge
43d83e2ef9
Not using YUI for js so removing this line
2011-11-26 12:27:31 -08:00
Eddie Monge
26dc452dc9
Update IE checker code for compiler
2011-11-26 12:21:18 -08:00
Eddie Monge
8dfa5f9ca9
Log levels dont need to be quieted anymore
2011-11-26 12:01:46 -08:00
Eddie Monge
a922b8fe02
Dont output errors to js file, increase cache size
2011-11-26 10:39:54 -08:00
Todd Parker
23f1937bf3
Merge pull request #3167 from forresst/patch-1
...
page overflow : repetition of word "can"
2011-11-26 08:47:54 -08:00
forresst
e02ca5de6c
repetition of word "can"
2011-11-26 17:21:42 +01:00
toddparker
ee7f60914f
Added a bit of extra info on the step attribute, general cleanup.
2011-11-25 21:58:45 -05:00
toddparker
e5de3e3221
A bit more formatting cleanup
2011-11-25 21:28:21 -05:00
toddparker
ecb8ad5884
Improved description and sample data for the filter text page
2011-11-25 21:18:03 -05:00
Todd Parker
f8dcaa2713
Merge pull request #3165 from MaZderMind/fix-touchOverflow-with-lists
...
fix css in touch-overflow example. Thanks MaZderMind!
2011-11-25 11:39:47 -08:00
Peter Körner
3d40a6a668
fix css in touch-overflow example
2011-11-25 16:01:13 +01:00
Todd Parker
37a0795e7a
Merge pull request #3162 from forresst/patch-3
...
Update docs/lists/lists-split.html
2011-11-24 15:24:38 -08:00
Todd Parker
dbc565af0d
Merge pull request #3161 from forresst/patch-2
...
Update docs/lists/lists-count.html
2011-11-24 15:24:03 -08:00
forresst
2a8b548e7d
Update docs/lists/lists-split.html
2011-11-25 00:14:18 +01:00
forresst
773c17d210
Update docs/lists/lists-count.html
2011-11-25 00:11:55 +01:00
Todd Parker
b24c9b3835
Merge pull request #3160 from forresst/patch-1
...
Update docs/pages/phonegap.html
2011-11-24 14:56:11 -08:00
forresst
a790ba040e
Update docs/pages/phonegap.html
2011-11-24 23:52:18 +01:00
Todd Parker
88023f8dab
Merge pull request #3158 from jakeboone02/docs-filtertext
...
Document data-filtertext attribute for listview items
2011-11-24 09:24:15 -08:00
Jake Boone
ad69fed1b8
Add page to docs for filtering lists by hidden data
2011-11-24 12:15:32 -05:00
Jake Boone
37499c4df9
Document data-filtertext attribute
2011-11-24 11:23:01 -05:00
John Bender
1f6f149e83
add step to slider example
2011-11-23 13:59:28 -08:00
John Bender
d0911d3cd6
whitespace in slider docs index
2011-11-23 13:59:05 -08:00
John Bender
b4f945f73b
test steps in refresh
2011-11-23 13:30:40 -08:00
John Bender
3b78250b17
comment linebreak
2011-11-23 13:30:40 -08:00
John Bender
3b83d4e032
force round numbers to avoid testing step rounding in keypress tests
2011-11-23 13:30:40 -08:00
John Bender
3e47bff3ff
whitespace and spelling correction
2011-11-23 13:30:40 -08:00
jrowny
1597d756d8
slider step, remove round clean up code a bit
2011-11-23 13:30:40 -08:00
jrowny
e09374b41d
add slider step support from jQuery UI
2011-11-23 13:30:40 -08:00
jrowny
7d204230f0
Add slider step support from jQuery UI
2011-11-23 13:30:40 -08:00
John Bender
47cf8d61b1
remove chrome ref
2011-11-22 13:16:18 -08:00
John Bender
f49fe2082b
record enhancement time and pageprocessing, both of which ignore the network load time of the jqm js
2011-11-22 13:16:18 -08:00
Todd Parker
dd7a89c637
Merge pull request #3139 from agcolom/patch-38
...
Update docs/pages/page-dynamic.html
2011-11-22 12:55:28 -08:00
Anne-Gaelle Colom
cbcc0642de
Update docs/pages/page-dynamic.html
2011-11-22 20:50:11 +00:00
John Bender
7c1cf95909
account for optional 'U;' in iPad ua. The fun continues
2011-11-22 11:06:08 -08:00
John Bender
7d7c913b64
fix for float value appearing earlier in ua string
...
surprised this didn't pop up earlier on android. I ❤️ ua strings.
2011-11-22 10:52:30 -08:00
John Bender
a4e09c8ad5
target the page through the event, simplify the href selection, account for ajax page loads
2011-11-22 10:36:24 -08:00
Eddie Monge
c787743a79
Add in more link rewrite test cases, and warning message
2011-11-22 10:36:24 -08:00
Eddie Monge
d64dd4fa2d
Allow unlimited sub-directory replacements
2011-11-22 10:36:24 -08:00
Eddie Monge
92e198c04c
Add check to see if ajax should be disabled
2011-11-22 10:36:24 -08:00
Eddie Monge
aa8b0b7cfd
Ajax should be disabled instead
2011-11-22 10:36:24 -08:00
Eddie Monge
3f522a2bce
Allow local browsing of the docs without a web server
2011-11-22 10:36:24 -08:00
Kin Blas
2b40784c4e
Merge pull request #3122 from hpbuniat/closestEnabledButton-speedup
...
Minor performance optimization for closestEnabledButton in buttonMarkup
2011-11-21 16:35:19 -08:00
Ethan Romba
a8c04855b4
Issue #3081 : Range inputs on dialogs don't degrade
...
The degradeInputs plugin bails early for pages that do not have
data-role="page". This behavior prevented range inputs (for slider widgets)
from degrading properly when used in dialogs.
Updated degradeInputs unit tests to check dialogs, too.
2011-11-21 16:47:14 -06:00
John Bender
7c62253ee5
Merge pull request #3097 from eddiemonge/intro
...
Old file that was replaced by license.txt in the root folder
2011-11-21 14:40:01 -08:00
John Bender
a9d9ca3dac
test navbar button click functionality
2011-11-21 13:09:00 -08:00
John Bender
c80428062a
move to hasClass check to avoid psuedo selector slowdown
2011-11-21 13:09:00 -08:00
Thomas Lallement
9d6ca3cc11
Edited js/jquery.mobile.navbar.js via GitHub
2011-11-21 13:09:00 -08:00
John Bender
6f00d35db8
move pagechange binding for textarea autogrow outside the check for text content
2011-11-21 10:15:47 -08:00
Hans-Peter Buniat
f3f5ba62e5
changed $.inArray to indexOf in closestEnabledButton - see http://jsperf.com/fsdsgt4
2011-11-20 23:32:14 +01:00
Todd Parker
e918442bbb
Merge pull request #3112 from eddiemonge/make_file
...
Add images to the docs, fix cp syntax, rearrange build dependencies to ...
2011-11-18 19:16:35 -08:00
Eddie Monge
5acc18a215
Add images to the docs, fix cp syntax, rearrange build dependencies to be consistent
2011-11-18 19:01:04 -08:00
Todd Parker
574cafaebf
Merge pull request #3111 from MauriceG/patch-19
...
Found a beta-release reference
2011-11-18 17:39:58 -08:00
Maurice Gottlieb
b2a769d984
propose for invisible beta-release paragraph
2011-11-19 02:13:54 +01:00
jblas@adobe.com
28b68f4d37
js/jquery.mobile.collapsibleSet.js was missing from the build.
2011-11-18 13:24:07 -08:00
Eddie Monge
ff6a349229
Old file that was replaced by license.txt in the root folder
2011-11-17 17:47:06 -08:00
Ghislain Seguin
c693561909
Merge pull request #3094 from eddiemonge/makefile
...
Fix license version and zip folder
2011-11-17 17:42:57 -08:00
Eddie Monge
5f2c4025ad
Add the current git version to the build process when its not a stable build
2011-11-17 15:53:32 -08:00
Ghislain Seguin
3542c9c0b1
Merge pull request #3008 from eddiemonge/live-delegate
...
Change .live() to .delegate()
2011-11-17 15:13:29 -08:00
Mat Marquis
a0ec2eb4f3
Fixes #3086 — Windows Phone 7 seems unable to use find() for an attribute-based selector, in this context.
2011-11-17 18:08:05 -05:00
Ghislain Seguin
61cd735d72
Merge pull request #3096 from chrisben/master
...
Issue #2650 : optimisation of png images
2011-11-17 14:22:16 -08:00
tichou
5460ae3a4f
Optmised png images for both Default and Valencia themes
2011-11-17 22:56:23 +01:00
Eddie Monge
8c6498fdc3
Fix license version and zip folder
2011-11-17 11:47:03 -08:00
Ghislain Seguin
3d17a69d8b
Merge pull request #3010 from gseguin/issue-2905
...
Decoupled collapsible and collapsible set
2011-11-17 09:35:05 -08:00
Ghislain Seguin
0e418c366c
Up'd to 1.1pre
2011-11-17 09:31:51 -08:00
toddparker
d5d78f46e1
Tweaks to custom select menu pages
2011-11-17 11:42:49 -05:00
toddparker
ed6a084897
Fixed rc3 link in page template
2011-11-17 11:25:15 -05:00
toddparker
d1d5e09f95
Re-vamped getting started page, changed CDN refs to 1.0, added 1.0 final banner
2011-11-17 11:20:48 -05:00
Ghislain Seguin
98b1ed63d8
Merge pull request #3079 from eddiemonge/deploy
...
Deploy
2011-11-17 08:12:37 -08:00
Ghislain Seguin
93d3d41b1d
Merge pull request #3055 from eddiemonge/patch-11
...
combine the css structure min and license files
2011-11-17 08:12:00 -08:00
Todd Parker
c5213aa48e
Merge pull request #3089 from MauriceG/master
...
Fixing some typos at docs/about/getting-started and propose an explanation for the apparently overwritten collapsible paragraph.
2011-11-17 05:23:48 -08:00
Maurice Gottlieb
9a02a9f110
Fixing some typos at docs/about/getting-started
2011-11-17 12:50:22 +01:00
Todd Parker
5468ca32c9
Adjusted heading level
2011-11-17 02:14:49 -05:00
Todd Parker
7baa752cd3
Added a new Quick start guide page
2011-11-17 02:00:59 -05:00
Ghislain Seguin
afd21e209d
Merge pull request #3080 from eddiemonge/small_img
...
Make one photo half its size while retaining the same quality
2011-11-16 17:45:19 -08:00
Eddie Monge
4a1f4f8a02
Add quiet option to scp
2011-11-16 17:35:25 -08:00
Eddie Monge
ecf0b97536
Update the deployed files to use the CDN for the resources
2011-11-16 17:04:22 -08:00
Eddie Monge
6b67d8009c
Make one photo half its size while retaining the same quality
2011-11-16 17:02:28 -08:00
Mat Marquis
cb89aceb77
Updated docs to split native/custom selects into two separate pages.
2011-11-16 18:27:45 -05:00
Mat Marquis
ff93c76037
Fixes #3041 — Cleans up the support test for Opera Mini and opts it out of fixed toolbar behavior.
2011-11-16 17:13:13 -05:00
Mat Marquis
b4eef42e18
Fixes #3026 — Regression introduced by 01c77fa.
2011-11-16 15:25:00 -05:00
Mat Marquis
f016c2dc21
Ensures that dialogs’ content elements _do_ inherit the overall page theme.
2011-11-16 15:25:00 -05:00
Todd Parker
b78584b964
Merge pull request #3075 from agcolom/patch-36
...
Update docs/pages/pages-themes.html
2011-11-16 12:04:23 -08:00
Anne-Gaelle Colom
f89a925b7e
Update docs/pages/pages-themes.html
2011-11-16 19:56:35 +00:00
Mat Marquis
4c5e85cc50
Correctly addresses #3020 — “Content” elements now correctly apply themes, but do not inherit the theme set on the overall page.
2011-11-16 10:35:03 -05:00
Todd Parker
e7a3623771
Merge pull request #3064 from jakeboone02/f-swatch-gradients-syntax
...
Docs: modified f-swatch gradient syntax to match default theme
2011-11-15 20:09:05 -08:00
Jake Boone
be8f75086e
Modified f-swatch gradient syntax to match default theme
2011-11-15 21:39:58 -05:00
jblas@adobe.com
16aafad67e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-15 16:18:50 -08:00
jblas@adobe.com
098eed9c3b
Fix for #2826 - an error occurred with click event on svg element using "live" or "delegate"
...
- Modified findClosestLink() to check the ele.nodeName type before trying to access it.
2011-11-15 16:17:14 -08:00
Mat Marquis
b3e65595e6
Fixes #3053 — I was a little overzealous in ensuring “content” elements didn’t inherit a theme if it wasn’t intended.
2011-11-15 17:37:14 -05:00
toddparker
fcce0c4915
Removed left/right border on swatch F for the docs to prevent horizontal scrolling. Fixes #3045
2011-11-15 16:17:50 -05:00
Todd Parker
03b1ce3693
Merge pull request #3061 from MauriceG/patch-16
...
docs/forms: adding a disabled slider (not just) for testing purpose (#3058 )
2011-11-15 11:19:55 -08:00
Maurice Gottlieb
718a0acf6d
adding a disabled slider for testing purpose ( #3058 )
...
change name-attribute of the flipswitch for consistency
2011-11-15 20:01:40 +01:00
toddparker
31144912f0
Added notes about linking to multi-page docs and added a link to the subpage plugin
2011-11-15 13:47:18 -05:00
jblas@adobe.com
116fd5fdc5
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-15 10:23:18 -08:00
jblas@adobe.com
afb7bab90f
Test case for issues:
...
3046 - closestEnabledButton() conflicts with OpenLayers
3054 - RC3 - button conflicts with svg element, throws error: Uncaught TypeError: Object #<SVGAnimatedString> has no method 'split'
2011-11-15 10:22:36 -08:00
Mat Marquis
d9ceb85ffb
Merge pull request #3059 from MauriceG/master
...
fixing two other issues at docs/pages/pages-themes/theme-a and theme-e
2011-11-15 10:20:06 -08:00
jblas@adobe.com
ba8458daef
Fix for issues:
...
- Modified findClosestEnabledButton() so that instead of checking for existence of ele.className, before using it, that it check for typeof ele.className === 'string'. This prevents us from looking at the className property of SVG elements which actually use type SVGAnimatedString which does not have the split() function in its API.
2011-11-15 10:19:37 -08:00
Maurice Gottlieb
d89c5cc063
fixing two other issues at docs/pages/pages-themes/
2011-11-15 19:06:44 +01:00
Todd Parker
7a0df3e62c
Merge pull request #3048 from agcolom/patch-34
...
Update docs/pages/page-navmodel.html
2011-11-15 09:41:11 -08:00
Todd Parker
6a0c19cc3a
Merge pull request #3052 from agcolom/patch-35
...
Update docs/pages/multipage-template.html
2011-11-15 09:17:16 -08:00
Todd Parker
38ab30c6cb
Merge pull request #3057 from MauriceG/master
...
Some corrections for the docs/pages/pages-themes/theme-x pages
2011-11-15 09:13:20 -08:00
Eddie Monge Jr.
0d283cb4ec
combine the css structure min and license files
2011-11-15 09:04:16 -08:00
toddparker
c2315215fe
Added more info to the touchOverflow docs, added links to good test page from the config page
2011-11-15 11:32:57 -05:00
Maurice Gottlieb
20e6002dbd
fixing copy/paste typo at collapsible content description
2011-11-15 17:14:26 +01:00
Maurice Gottlieb
e33549ea9c
fixing a typo at the e-swatch-page-link and a copy/paste typo at collapsible content description
2011-11-15 17:13:34 +01:00
Maurice Gottlieb
4e2aebaa36
fixing copy/paste typo at collapsible content description
2011-11-15 17:11:54 +01:00
Maurice Gottlieb
f3c2f4df5a
fixing copy/paste typo at collapsible content description
2011-11-15 17:10:29 +01:00
Maurice Gottlieb
3b8a389b86
setting the header-data-theme to swatch b for consistency otherwise it defaults to swatch a,
...
fixing copy/paste typo at collapsible content description
2011-11-15 17:08:43 +01:00
Anne-Gaelle Colom
c3bfd324dd
Update docs/pages/multipage-template.html
2011-11-15 14:51:07 +00:00
Anne-Gaelle Colom
7796c4182f
Update docs/pages/page-navmodel.html
2011-11-15 08:34:10 +00:00
jblas@adobe.com
b8dcdc9657
A simple bookmarklet that allows us to attach to a jQuery Mobile application and throw an alert that displays the load, enhancment, and transition times for a page the user navigates to.
2011-11-14 16:22:39 -08:00
Todd Parker
ee779f29d6
Merge pull request #3044 from agcolom/patch-33
...
Update docs/pages/page-navmodel.html
2011-11-14 15:49:35 -08:00
Anne-Gaelle Colom
fb51bfad75
Update docs/pages/page-navmodel.html
2011-11-14 23:11:23 +00:00
Todd Parker
e530125237
Merge pull request #3042 from MauriceG/patch-15
...
Docs: fixing some typos at docs / content / content-themes.html
2011-11-14 14:55:04 -08:00
Todd Parker
9fd512503f
Merge pull request #3043 from garann/c3fb688701aa418f6a9df549dd535fad76d9ea60
...
Proofreading fixes to touchOverflow doc
2011-11-14 14:54:34 -08:00
John Bender
c0880137b9
account for droid x ua string
2011-11-14 14:11:47 -08:00
Mat Marquis
86f639b286
Fixing ‘home’ link on new theme pages.
2011-11-14 16:56:30 -05:00
Mat Marquis
d52b02f60f
Fixes footer nav links on new theme pages.
2011-11-14 16:53:17 -05:00
Mat Marquis
e69d8a5854
Kludged a little padding into the theme nav. Tell no one of this.
2011-11-14 16:48:59 -05:00
toddparker
59099abd31
Removed controlgroup
2011-11-14 16:39:50 -05:00
toddparker
3a6e35dd0e
Updated references from RC2 to RC3 for release
2011-11-14 16:29:58 -05:00
Maurice Gottlieb
e516ab90fc
fixing some typos at docs / content / content-themes.html
2011-11-14 21:49:32 +01:00
John Bender
cf521ea062
missing escape
2011-11-14 11:27:26 -08:00
John Bender
bfb42ff3f3
account for lack of 'mobile' in android ua strings
2011-11-14 11:25:22 -08:00
John Bender
ba8030e4f3
account for minor version only android version strings
2011-11-14 11:11:34 -08:00
John Bender
c8d06f5d86
union the non android entries with android entries where we trim the version number down to the minor version
2011-11-14 11:05:50 -08:00
Garann Means
c3fb688701
Minor copy edits to touchOverflow docs.
2011-11-14 13:00:30 -06:00
John Bender
54e9cc6466
test list view parent theme inheritance
2011-11-14 10:13:07 -08:00
jblas@adobe.com
db2782b564
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-14 09:45:21 -08:00
John Bender
3e93c2969a
move the agent_version forward in the table caption and correct data attribute name
2011-11-14 09:43:34 -08:00
jblas@adobe.com
3353649a29
Uh, yeah, I'll take back another 700 msecs on WP7.5 (Mango) and 200 msecs on iPad. Thank You.
...
- Don't set the item class on the list item or it's btn-inner children until after the main processing loop. We now use a dictionary of item-classes to track what items get what set of classes and then set them all afterwards. This cuts down the per-item addClass() and children() function overhead significantly and gets us big wins on platforms like WP 7.5
2011-11-14 09:42:48 -08:00
John Bender
db87885f60
fixed dom selection issue
2011-11-14 09:39:29 -08:00
John Bender
1675d44bff
simple time grouping to fix issues without aggregation
2011-11-14 09:39:29 -08:00
Mat Marquis
48de5f4209
Minor width tweak to slider input; prevents slider from breaking to second line at ~320px.
2011-11-14 12:17:53 -05:00
Mat Marquis
f62c5c01b3
Fixes #3028 — Listviews themselves are now inheriting the theme set at the page level. Individual list items remain themeable.
2011-11-14 12:02:42 -05:00
toddparker
b90eab4935
New black icon sprites based on the white version
...
Copied the 18 and 36px white icon and flipped it to black to ensure
that these are identical. Cleaned up antialiasing issues on the black
icons too. Added to valencia and default themes.
2011-11-13 23:08:04 -05:00
toddparker
581c4224a2
Updated 18px black icons sprite to match the latest white version
2011-11-13 22:41:52 -05:00
toddparker
da67275c13
Added theme roller link
2011-11-13 22:29:16 -05:00
toddparker
5470eaf124
Text edits to the supported browser page
2011-11-13 21:39:00 -05:00
toddparker
94defe7caf
Added links to the data- attribute reference to key pages, removed old API pages
2011-11-13 21:13:53 -05:00
toddparker
e86b10ea55
Added info on calling the list view plugin, refreshing, linked up data attar page
2011-11-13 21:05:06 -05:00
toddparker
abdab6ea18
Language tweaks
2011-11-13 20:43:12 -05:00
Todd Parker
0ece0fa067
Merge pull request #3030 from MauriceG/patch-11
...
docs: lists/theming lists/LI-level theming: adding missing anchor tag to list-item
2011-11-13 17:28:38 -08:00
Todd Parker
693d470313
Merge pull request #3034 from MauriceG/patch-14
...
docs: fixing some typos at docs/forms/slider/index.html
2011-11-12 08:46:12 -08:00
Maurice Gottlieb
ef065cabaf
fixing some typos at docs/forms/slider/index.html
2011-11-12 16:58:52 +01:00
Todd Parker
7c3268a305
Merge pull request #3032 from jakeboone02/patch-1
...
Fix comments
2011-11-12 07:33:01 -08:00
jakeboone02
9040f56c53
Fix comments
2011-11-12 10:26:20 -05:00
Maurice Gottlieb
f99230eb40
adding missing anchor tag
2011-11-12 13:47:35 +01:00
Mat Marquis
b2106887d8
Merge remote-tracking branch 'upstream/master'
2011-11-11 18:54:48 -05:00
Mat Marquis
cbc5a34e17
Added full-page theme examples for the sake of testing theme inheritance — see issue #3028 .
2011-11-11 18:52:22 -05:00
jblas@adobe.com
0e0435ed1c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-11 14:54:05 -08:00
jblas@adobe.com
6bd8f7a85b
Reclaiming another 200-300 msecs on the 400 listview item page for iPad and WP7.5.
...
- Use $.data() instead of $.fn.data() in buttonMarkup().
- Avoid excess function overhead with a filtered children() call by walking the DOM ourselves in listview code.
2011-11-11 14:51:58 -08:00
toddparker
134bdcfc20
Updated graded support to remove Opera from WinMo, removed iOS5 (beta), added N9
2011-11-11 17:29:59 -05:00
Todd Parker
88bdc41ffb
Merge pull request #3027 from jasonlcrane/lists-readonly-1
...
Update docs/lists/lists-readonly.html
2011-11-11 14:17:58 -08:00
Jason Crane
874eab7cb7
Removed "Inset" from header and minor tweaks.
2011-11-11 21:11:40 +00:00
Mat Marquis
5262c2be56
Fixes #3020 — Theme-dependent backgrounds should be applied only to ‘data-role=content’ within a dialog.
2011-11-11 15:20:36 -05:00
John Bender
00d604ccc4
Merge branch 'frietsch-master'
2011-11-11 12:09:17 -08:00
John Bender
ced1f865a2
whitespace and a comment on setting buttonPlaceholder to undefined
2011-11-11 12:08:59 -08:00
frietsch
c824b16816
Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.
2011-11-11 12:08:59 -08:00
frietsch
b051c3203e
Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.
2011-11-11 12:08:59 -08:00
John Bender
d35b86fea0
test that the hidden element for input button submission is added many times
2011-11-11 12:08:24 -08:00
John Bender
73508f1dbf
Merge branch 'pbosakov-issue_2821'
2011-11-11 11:20:57 -08:00
John Bender
46f6c678eb
simplify nested branches
2011-11-11 11:20:30 -08:00
Todd Parker
de75527f78
Merge pull request #3024 from garann/master
...
Subjective edits to PhoneGap doc to make references to webviews consistent
2011-11-11 10:41:59 -08:00
jblas@adobe.com
343161c972
Reclaim 250 msecs on iPad and WP7.5 (Mango) by simply combining find().filter() calls and getting rid of fake pseudo selectors :eq(0) and :last.
2011-11-11 10:31:31 -08:00
Todd Parker
7406ea258a
Merge pull request #3023 from garann/22d29992da740dfb12976d94514967d014044ec9
...
Small copy edits (typos, etc.) to the PhoneGap doc. Thanks garran
2011-11-11 10:05:01 -08:00
Garann Means
8f66cbe70c
made references to webviews in PhoneGap docs consistent *twitch*
2011-11-11 12:01:13 -06:00
John Bender
1f20d7c002
Merge branch 'issue_2821' of https://github.com/pbosakov/jquery-mobile into pbosakov-issue_2821
2011-11-11 09:58:16 -08:00
Garann Means
22d29992da
minor copy edits to the PhoneGap doc
2011-11-11 11:56:05 -06:00
Garann Means
ef05fd045f
Merge remote-tracking branch 'upstream/master'
2011-11-11 11:45:14 -06:00
Todd Parker
48e5ce0343
Merge pull request #3022 from agcolom/patch-32
...
Update docs/pages/page-links.html
2011-11-11 08:50:05 -08:00
Anne-Gaelle Colom
b6deb43274
Update docs/pages/page-links.html
2011-11-11 16:44:46 +00:00
toddparker
6ac52d855a
Added more info on how to add custom and HD icons
2011-11-11 10:27:18 -05:00
toddparker
3af9d83e51
Language tweak
2011-11-10 23:32:06 -05:00
toddparker
915b9e528b
AddedTouchoverflow docs page, re-vamped transitions page to add info on adding cutom CSS and JS transitions
2011-11-10 23:28:49 -05:00
toddparker
2a1f95d7c7
Added new PhoneGap page, updated navigation
2011-11-10 21:59:50 -05:00
John Bender
f501712617
Merge pull request #2919 from redaemn/flip-switch-improvements
...
Corrected some tests for the slider widget
2011-11-10 15:10:38 -08:00
jblas@adobe.com
ac8a7c7cb9
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-10 14:15:25 -08:00
jblas@adobe.com
87070cc690
Reclaiming another 700-800 msecs on the 400 listview item test for WP7.5 (Mango) with a few minor tweaks:
...
- Added _findFirstElementByTagName() which does basic DOM traversal to find the first of an element with the given nodeName. Use this in place of $.fn.closest() and $.fn.children() calls that filter with ":eq(0)".
- Avoid calling $.fn.add() if you can. The creation of the new collection is costing about 400 msecs.
- Avoid calling $() with markup for a single node, just use document.createElement() and pass it to $().
2011-11-10 14:15:12 -08:00
John Bender
458ba65681
switched to bar chart per @toddparker
2011-11-10 11:42:28 -08:00
John Bender
eedb9ce8ac
todo added to the chart display
2011-11-10 11:24:54 -08:00
John Bender
1572867147
decode get params when refining stats data
2011-11-10 10:55:14 -08:00
John Bender
4da7e378c2
create new tables based on agent version
2011-11-10 10:52:04 -08:00
John Bender
be1852827c
close element creation tags
2011-11-10 10:29:15 -08:00
John Bender
cdfe8d157a
remove id dependency on the data point
2011-11-10 10:18:28 -08:00
Ghislain Seguin
b4df2ecfb2
Added some more negative testing for theming
2011-11-10 10:10:08 -08:00
John Bender
477f85c500
blackberry ua support
2011-11-10 10:01:39 -08:00
Ghislain Seguin
c2436806f4
Removed double setting of ui-body- class on collapsible content
2011-11-10 09:54:58 -08:00
John Bender
633b5e089c
Merge pull request #3015 from eddiemonge/patch-9
...
Update README.md
2011-11-10 09:54:47 -08:00
Eddie Monge Jr.
1296abb80f
Update README.md
2011-11-10 09:53:48 -08:00
Ghislain Seguin
eb28b7ec57
Removed console.debug
2011-11-10 09:36:44 -08:00
Ghislain Seguin
3b13aaf288
Re-applied Kin's optimizations
2011-11-10 09:36:44 -08:00
Ghislain Seguin
6d4274fd6c
Decoupled collapsible and collapsible-set
...
That fixes issue #2905 as well
2011-11-10 09:36:44 -08:00
Ghislain Seguin
94389bdcad
Renamed variable
2011-11-10 09:36:44 -08:00
John Bender
d5ab078cdd
Merge pull request #3009 from eddiemonge/server
...
Update Makefile to actually work on the server
2011-11-10 09:29:49 -08:00
John Bender
9a13fc0b35
added iPhone and iPad UA strings
2011-11-10 09:23:49 -08:00
Ghislain Seguin
4bba893940
Fixed custom select dialog header styling
2011-11-10 09:17:31 -08:00
Ghislain Seguin
acdbd8f1b7
Renamed variable
2011-11-10 09:17:31 -08:00
Todd Parker
2f6af4b991
Merge pull request #3014 from jasonlcrane/docs-list-1
...
Update docs/lists/docs-lists.html
2011-11-10 09:14:48 -08:00
John Bender
c1a6ea10e5
formatting in php for sanity
2011-11-10 09:04:18 -08:00
John Bender
5734ca62c6
add ability to refine data display to a user agent or data point
2011-11-10 09:04:18 -08:00
John Bender
f74d117aec
simple user agent tracking and collection added to perf javascript
2011-11-10 09:04:18 -08:00
Jason Crane
810781ef87
Rewording for clarity and added a couple links
2011-11-10 16:57:09 +00:00
Jason Crane
c37ee3e882
Merge remote branch 'original/master'
2011-11-10 15:04:46 +00:00
Todd Parker
3edb68506d
Merge pull request #3012 from agcolom/patch-30
...
Update docs/pages/page-cache.html
2011-11-10 04:41:27 -08:00
Todd Parker
1fe2e4434a
Merge pull request #3013 from agcolom/patch-31
...
Update docs/pages/page-scripting.html
2011-11-10 04:38:38 -08:00
Anne-Gaelle Colom
245669f2dd
Update docs/pages/page-scripting.html
2011-11-10 11:05:27 +00:00
Anne-Gaelle Colom
8f671be320
Update docs/pages/page-cache.html
2011-11-10 10:50:59 +00:00
John Bender
8ef15e82cc
correction to license include in js/index.php
2011-11-09 22:36:00 -08:00
jblas@adobe.com
a8a6f58d3e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-09 18:02:27 -08:00
jblas@adobe.com
8e23813d25
Got rid of pseudo selectors :header and :eq(0) since they take a long time on WP7.5 (Mango). This shaves off 300 msecs when loading the form gallery page.
2011-11-09 17:59:25 -08:00
Eddie Monge
b7cd2128dd
Why three lines when 2 will suffice?
2011-11-09 17:57:50 -08:00
Eddie Monge
366d33ead0
Update Makefile to actually work on the server
2011-11-09 17:43:37 -08:00
John Bender
547e409707
Merge pull request #2999 from eddiemonge/server
...
Server
2011-11-09 16:14:45 -08:00
Eddie Monge
cd39c73d73
Merge in makefile
2011-11-09 16:06:33 -08:00
Eddie Monge
c367c832e2
Change .live() to .delegate()
2011-11-09 16:01:37 -08:00
John Bender
7085843b74
moved info text to license-info.txt
2011-11-09 16:00:25 -08:00
John Bender
989f7f1542
move intro to text for css combine, js combine, and makefile use
2011-11-09 15:45:08 -08:00
Mat Marquis
2212d7428c
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-11-09 18:34:17 -05:00
John Bender
3fdb12600e
Merge pull request #2994 from eddiemonge/5535e24c46c95f16b437c0ebec8c19094caf18a7
...
License Changes
2011-11-09 15:27:25 -08:00
Mat Marquis
01c77fa9e1
Fixes #2588 — When Windows Phone 7.5 (Mango) tries to calculate a numeric opacity for a select—including “inherit”—without explicitly specifying an opacity on the parent to give it context, a bug appears where clicking elsewhere on the page after opening the select will open the select again.
2011-11-09 18:25:06 -05:00
Eddie Monge
75341c6ca7
Update the README to include instructions for including a custom theme
2011-11-09 14:56:38 -08:00
Ghislain Seguin
1b2f1d8e40
Merge pull request #2894 from MauriceG/patch-3
...
Fix for #2893 : Buttons keep ui-btn-down-x class if leaved with mouse button pressed
2011-11-09 13:46:04 -08:00
John Bender
1d4109295d
textinput whitespace
2011-11-09 11:43:40 -08:00
John Bender
d50aa91e6d
comment clarification
2011-11-09 11:42:57 -08:00
John Bender
50204053bc
test for page load text area autogrow
2011-11-09 11:35:22 -08:00
John Bender
3f52c482d0
account for css load in initial document load and page transition with text area autogrow
2011-11-09 11:35:21 -08:00
Ghislain Seguin
99783f4803
Merge pull request #2997 from eddiemonge/docs
...
Unify css and js references for doc changes
2011-11-09 10:56:44 -08:00
John Bender
fb2544b8a1
add some maring to account for silly large number strings on our perf charts
2011-11-09 10:10:57 -08:00
Mat Marquis
fab9de10b4
Merge pull request #3004 from eddiemonge/patch-7
...
Fixes #509
2011-11-09 08:43:29 -08:00
Eddie Monge Jr.
6b5ca6311a
Remove unneeded css as height will suffice. Trigger the inputs keyup. Im not sure calling $(keyup) called the function on the element.
2011-11-09 08:32:00 -08:00
Eddie Monge
a213cfa281
Complete overhaul of Make process to be cleaner, clearer and server-friendly
2011-11-09 01:39:25 -08:00
Ghislain Seguin
8fb55a8afa
Merge pull request #2974 from agcolom/patch-16
...
Update docs/toolbars/docs-bars.html
2011-11-08 22:45:55 -08:00
Eddie Monge
6cf19b1220
Merge branch 'master' of https://github.com/jquery/jquery-mobile into server
...
* 'master' of https://github.com/jquery/jquery-mobile :
Speed up listview enhancement for WP 7.5 (Mango). This change allows the 400 listview item page to load in 3-4 seconds instead of 30 seconds.
2011-11-08 21:01:20 -08:00
Eddie Monge
88884db175
Unify css and js references for doc changes
2011-11-08 18:39:49 -08:00
jblas@adobe.com
cb820f6e5d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-08 17:07:18 -08:00
jblas@adobe.com
76766a635f
Speed up listview enhancement for WP 7.5 (Mango). This change allows the 400 listview item page to load in 3-4 seconds instead of 30 seconds.
...
- Modified refresh() so that it manually checks for the first image in the list item or .ui-link-inherit element. This allows us to avoid executing a selector with a direct descendant and :eq(0) pseudo which is quite slow on WP 7.5 IE.
2011-11-08 17:04:41 -08:00
Eddie Monge
9336d8e02b
Merge branch 'master' of https://github.com/jquery/jquery-mobile into server
...
* 'master' of https://github.com/jquery/jquery-mobile :
test that title is restored on link transition to first page
Update docs/pages/page-dialogs.html
Update docs/pages/page-links.html
Update docs/pages/page-titles.html
Update docs/pages/page-anatomy.html
2011-11-08 15:52:36 -08:00
Eddie Monge
5535e24c46
Update to add license to root, update individual files to not have license, add license to built and testing files
2011-11-08 15:43:36 -08:00
John Bender
949dd4c6c8
test that title is restored on link transition to first page
2011-11-08 15:41:37 -08:00
Eddie Monge
9709170235
Step 1 Remove unneeded PHP hook files
2011-11-08 15:00:35 -08:00
Todd Parker
c997b4cc20
Merge pull request #2992 from agcolom/patch-29
...
Update docs/pages/page-dialogs.html
2011-11-08 14:37:30 -08:00
Anne-Gaelle Colom
a2c6741e71
Update docs/pages/page-dialogs.html
2011-11-08 22:35:53 +00:00
Todd Parker
ccf13892c4
Merge pull request #2991 from agcolom/patch-28
...
Update docs/pages/page-links.html
2011-11-08 14:32:41 -08:00
Anne-Gaelle Colom
3259b02c1a
Update docs/pages/page-links.html
2011-11-08 22:27:48 +00:00
Todd Parker
226bab004b
Merge pull request #2990 from agcolom/patch-27
...
Update docs/pages/page-titles.html
2011-11-08 14:12:27 -08:00
Anne-Gaelle Colom
a989487b2f
Update docs/pages/page-titles.html
2011-11-08 22:11:51 +00:00
Todd Parker
6832b68162
Merge pull request #2989 from agcolom/patch-26
...
Update docs/pages/page-anatomy.html
2011-11-08 14:09:53 -08:00
Anne-Gaelle Colom
bf4eac10ca
Update docs/pages/page-anatomy.html
2011-11-08 22:08:35 +00:00
Todd Parker
4c6871d5be
Merge pull request #2988 from jasonlcrane/docs-page-navmodel-1
...
Update docs/pages/page-navmodel.html. Thanks jasonlcrane!
2011-11-08 13:54:48 -08:00
jasonlcrane
1a8b56aa54
Fix typo in pushState plugin description, link to form submissions docs.
2011-11-08 21:41:26 +00:00
John Bender
94c2651244
Merge pull request #2959 from garann/158a65c1fd7f34afb6f157921a1604f6e3159a29
...
Store title of initial page
2011-11-08 13:38:29 -08:00
Todd Parker
7185e864c9
Merge pull request #2987 from agcolom/patch-25
...
Update docs/toolbars/bars-themes.html
2011-11-08 13:34:04 -08:00
Todd Parker
a35e1507da
Merge pull request #2971 from agcolom/patch-14
...
Update docs/toolbars/index.html
2011-11-08 13:33:44 -08:00
Todd Parker
77733d3ae8
Merge pull request #2972 from agcolom/patch-15
...
Update docs/toolbars/docs-bars.html
2011-11-08 13:33:22 -08:00
Anne-Gaelle Colom
41ce526d5d
Update docs/toolbars/bars-themes.html
2011-11-08 21:33:03 +00:00
Todd Parker
4f13feadcf
Merge pull request #2986 from agcolom/patch-24
...
Update docs/toolbars/footer-persist-c.html
2011-11-08 13:32:50 -08:00
Todd Parker
7d0dddc904
Merge pull request #2985 from agcolom/patch-23
...
Update docs/toolbars/footer-persist-b.html
2011-11-08 13:32:33 -08:00
Anne-Gaelle Colom
100b1d167e
Update docs/toolbars/footer-persist-c.html
2011-11-08 21:26:31 +00:00
Anne-Gaelle Colom
2314e554dc
Update docs/toolbars/footer-persist-b.html
2011-11-08 21:24:58 +00:00
Todd Parker
b15f87c504
Merge pull request #2984 from agcolom/patch-22
...
Update docs/toolbars/footer-persist-a.html
2011-11-08 13:24:35 -08:00
Anne-Gaelle Colom
66da36b486
Update docs/toolbars/footer-persist-a.html
2011-11-08 21:22:41 +00:00
Todd Parker
690696c564
Merge pull request #2983 from agcolom/patch-21
...
Update docs/toolbars/bars-fullscreen.html
2011-11-08 13:09:40 -08:00
Todd Parker
209757da3f
Merge pull request #2982 from agcolom/patch-20
...
Update docs/toolbars/bars-fixed.html
2011-11-08 13:09:17 -08:00
jasonlcrane
3550f3c6fc
Linked to form submission docs page
2011-11-08 21:07:29 +00:00
jblas@adobe.com
12dea341c7
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-08 13:07:09 -08:00
jblas@adobe.com
d6f2f438b6
Fixing the busted unit/core tests.
...
- Clear the namespace property name cache if the namespace is changed.
2011-11-08 13:05:51 -08:00
Anne-Gaelle Colom
eeaf535081
Update docs/toolbars/bars-fullscreen.html
2011-11-08 21:02:07 +00:00
Anne-Gaelle Colom
6146add9fc
Update docs/toolbars/bars-fixed.html
2011-11-08 20:58:34 +00:00
Todd Parker
40a1328c50
Merge pull request #2981 from agcolom/patch-19
...
Update docs/toolbars/docs-navbar.html
2011-11-08 12:09:49 -08:00
Mat Marquis
80893170ca
Additional work on #2066 — This change only applies overflow-x: hidden to body/div elements that receive the .ui-mobile-viewport class, as we can safely predict that style won’t interfere with native select funcitonality when attached to those elements. This will address the vast majority of use cases, and prevent this style from causing unpredictable Android issues in the event that the page is wrapped in an unusual element (a form, table cell, marquee tag, etc.).
2011-11-08 15:06:33 -05:00
Anne-Gaelle Colom
aee0d8c486
Update docs/toolbars/docs-navbar.html
2011-11-08 19:36:39 +00:00
Todd Parker
fea5bfd138
Merge pull request #2980 from agcolom/patch-18
...
Update docs/toolbars/docs-footers.html
2011-11-08 11:23:55 -08:00
jblas@adobe.com
b198f57276
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-08 11:21:01 -08:00
Anne-Gaelle Colom
5d94d64296
Update docs/toolbars/docs-footers.html
2011-11-08 19:20:27 +00:00
jblas@adobe.com
488e8f70ad
Some minor performance tweaks:
...
- Cache the nsNormalize() results so we don't have to call $.camelcase() every time jqmData() is called.
- Move the regexp used in our monkey patched $.find outside of the function to save some regex compilation cycles.
2011-11-08 11:19:39 -08:00
jasonlcrane
47080128d7
Fixes typo in first sentence of pushState plugin description
2011-11-08 18:13:59 +00:00
Todd Parker
67c245cc95
Merge pull request #2975 from agcolom/patch-17
...
Update docs/toolbars/docs-headers.html
2011-11-08 07:35:30 -08:00
Anne-Gaelle Colom
7a1d5ec057
Update docs/toolbars/docs-headers.html
2011-11-08 15:14:21 +00:00
Ghislain Seguin
f1f07a3faf
Merge pull request #2973 from MauriceG/master
...
Removing discarded link to Responsive Layout Helpers page from Data attribute reference page
2011-11-08 06:49:10 -08:00
Anne-Gaelle Colom
a37f6278e2
Update docs/toolbars/docs-bars.html
2011-11-08 14:39:19 +00:00
Maurice Gottlieb
d53d3f8359
removing link to discarded page Responsive Layout Helpers
2011-11-08 15:37:47 +01:00
Ghislain Seguin
80644f305e
Revert "Update docs/api/globalconfig.html"
...
This reverts commit c832f64ae8 .
2011-11-08 06:26:24 -08:00
Ghislain Seguin
103a59c24b
Revert "Update docs/api/events.html"
...
This reverts commit 7dba08a10b .
2011-11-08 06:26:22 -08:00
Ghislain Seguin
b64da2f5f2
Revert "Update docs/api/methods.html"
...
This reverts commit b019fa4c58 .
2011-11-08 06:26:12 -08:00
Anne-Gaelle Colom
1b80023184
Update docs/toolbars/docs-bars.html
2011-11-08 14:05:21 +00:00
Ghislain Seguin
0c022a56e5
Merge pull request #2968 from agcolom/patch-11
...
Update docs/api/events.html
2011-11-08 06:04:38 -08:00
Ghislain Seguin
48fdbfc261
Merge pull request #2969 from agcolom/patch-12
...
Update docs/api/methods.html
2011-11-08 06:03:15 -08:00
Ghislain Seguin
4a20908f4e
Merge pull request #2967 from agcolom/patch-10
...
Update docs/api/globalconfig.html
2011-11-08 06:00:45 -08:00
Anne-Gaelle Colom
f1b6b300cb
Update docs/toolbars/index.html
2011-11-08 13:59:19 +00:00
Anne-Gaelle Colom
b019fa4c58
Update docs/api/methods.html
2011-11-08 13:49:10 +00:00
Anne-Gaelle Colom
7dba08a10b
Update docs/api/events.html
2011-11-08 13:47:51 +00:00
Anne-Gaelle Colom
c832f64ae8
Update docs/api/globalconfig.html
2011-11-08 13:45:37 +00:00
Ghislain Seguin
8dcef4493d
Fix for #2954
2011-11-07 21:02:28 -08:00
Todd Parker
72ff459602
Adjusted dialog docs
2011-11-07 22:52:06 -05:00
Todd Parker
82b7dcc1d1
Added overlay-theme attr info for selects
2011-11-07 22:47:47 -05:00
Todd Parker
2b618a1215
Added docs for dialog overlay attr, created a demo page to show this in action
2011-11-07 22:29:06 -05:00
Kin Blas
3316182253
Merge pull request #2962 from eddiemonge/patch-5
...
Wrong OR operator to compare values
2011-11-07 19:04:14 -08:00
Eddie Monge Jr.
4f354bafbc
Wrong OR operator to compare values
2011-11-07 18:14:29 -08:00
John Bender
1d5f2af293
first pass at visualizing data collection
2011-11-07 16:56:19 -08:00
John Bender
9e255e6e75
add the pathname to the stats to differentiate tests. add grouping
2011-11-07 16:56:19 -08:00
jblas@adobe.com
e17e29b559
Eeking out another 200+ msecs (on iPad) by simply switching to children("img:eq0") instead of find(">img:eq0"). Still need to figure out how to get rid of the find(".ui-link-inherit>img:eq(0)") which is the where the bulk of listview enhancement is spent on WP7.
2011-11-07 15:16:32 -08:00
Todd Parker
d194476640
Merge pull request #2960 from agcolom/patch-9
...
Update docs/api/themes.html
2011-11-07 13:37:18 -08:00
Anne-Gaelle Colom
2cc42ff65f
Update docs/api/themes.html
2011-11-07 21:21:38 +00:00
John Bender
2ec65580cf
moved to pdo db interface to avoid uninstalled deps in prod
2011-11-07 13:19:32 -08:00
toddparker
3d34943068
Fixed alpha order of an option under selects
2011-11-07 16:05:52 -05:00
toddparker
56f0af4cdf
Added an intro message that links to the ns global option
2011-11-07 16:02:27 -05:00
jblas@adobe.com
baee7ed5a7
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-07 12:40:57 -08:00
jblas@adobe.com
8177ec4bb5
Shave another 200-300ms off the 400 listview item page by simply reducing the number of function calls we make during enhancement.
...
- Got rid of _itemApply() and moved it's functionality to the bottom of refresh(), doing finds from $list where we can, and li where we can't. Boom, at least 1200+ less function calls.
2011-11-07 12:38:54 -08:00
Garann Means
bb61abc467
Merge remote-tracking branch 'upstream/master'
2011-11-07 14:29:18 -06:00
Garann Means
158a65c1fd
Store title of initial page so it will appear correctly if reloaded via link instead of back button
2011-11-07 14:23:27 -06:00
Todd Parker
06e8f1d49f
Merge pull request #2958 from TylerBenziger/master
...
Whitespace fix for Saf 5.0.5 Gradients
2011-11-07 12:08:21 -08:00
John Bender
6d85686c0c
Merge branch 'list-perf'
2011-11-07 11:06:39 -08:00
John Bender
b3fdbcbb78
account for child page events
2011-11-07 11:06:10 -08:00
John Bender
7a84306cc2
readd lists-ul html
2011-11-07 10:42:56 -08:00
John Bender
4e61db3450
move the list perf test to a different naming scheme
2011-11-07 10:41:24 -08:00
John Bender
412af6f16c
seperate stats recording from stat caculation, add timestamp
2011-11-07 10:39:24 -08:00
TylerBenziger
265e7bb887
Whitespace fix for jquery.mobile.theme.css
2011-11-07 10:32:09 -08:00
TylerBenziger
a4554d478e
Whitespace fix for jquery.mobile.theme.css
2011-11-07 10:27:48 -08:00
TylerBenziger
a1097b32a2
Whitespace fix for jquery.mobile.theme.css
2011-11-07 10:00:39 -08:00
Ghislain Seguin
4cee7adaa9
Added data-overlay-theme
2011-11-06 20:23:39 -08:00
Ghislain Seguin
2dfa82d5f3
Merge pull request #2938 from eddiemonge/patch-4
...
code style cleanup
2011-11-06 15:37:40 -08:00
Eddie Monge Jr.
2663f95892
Update experiments/scrollview/scrollview.js
2011-11-06 15:09:11 -08:00
Todd Parker
e4f297a731
Merge pull request #2946 from agcolom/patch-8
...
Update docs/api/mediahelpers.html
2011-11-05 15:11:04 -07:00
Anne-Gaelle Colom
41792fc599
Update docs/api/mediahelpers.html
2011-11-05 21:18:13 +00:00
Todd Parker
7393adda28
Merge pull request #2945 from agcolom/patch-7
...
Update docs/api/data-attributes.html
2011-11-05 11:32:12 -07:00
Anne-Gaelle Colom
5d0b930691
Update docs/api/data-attributes.html
2011-11-05 17:34:08 +00:00
Ghislain Seguin
a9dc41750e
Merge pull request #2944 from agcolom/patch-6
...
Update docs/api/data-attributes.html
2011-11-05 08:01:57 -07:00
Anne-Gaelle Colom
e83f108018
Update docs/api/data-attributes.html
2011-11-05 13:52:24 +00:00
Todd Parker
e7c37be849
Merge pull request #2943 from agcolom/patch-5
...
Update docs/api/data-attributes.html. Thanks agcolom!
2011-11-05 06:00:47 -07:00
Anne-Gaelle Colom
6eaa3882f7
Update docs/api/data-attributes.html
2011-11-05 12:56:18 +00:00
Todd Parker
87e6b4d8d2
Merge pull request #2942 from agcolom/patch-4
...
Update docs/toolbars/docs-headers.html
2011-11-05 05:11:17 -07:00
Anne-Gaelle Colom
eb9f685ffd
Update docs/toolbars/docs-headers.html
2011-11-05 10:04:34 +00:00
Ghislain Seguin
3da8e0d171
Added tests for dialog theming and overlayTheme
2011-11-04 22:34:58 -07:00
Ghislain Seguin
47e0e4bf99
Fixed inheritance of content theme
2011-11-04 22:34:58 -07:00
Ghislain Seguin
26c48c8c6c
Fix for #2871 : Added overlayTheme option to dialog widget
2011-11-04 22:34:58 -07:00
Todd Parker
c8d3461676
Merge pull request #2941 from agcolom/patch-3
...
Update docs/api/data-attributes.html
2011-11-04 15:55:43 -07:00
Anne-Gaelle Colom
a350a031a7
Update docs/api/data-attributes.html
2011-11-04 22:45:15 +00:00
Todd Parker
f7bb876c3c
Merge pull request #2940 from agcolom/patch-2
...
punctuation consistency
2011-11-04 15:39:42 -07:00
Anne-Gaelle Colom
28a19efc77
punctuation consistency
2011-11-04 22:33:37 +00:00
toddparker
3a32031516
Fixed code syntax issues. Thanks agcolom!
2011-11-04 18:07:44 -04:00
Mat Marquis
63573bce5e
Merge pull request #2934 from garann/master
...
Issue #1447 - unescape entities in page titles
2011-11-04 15:04:26 -07:00
Eddie Monge Jr.
e56a382c3f
Update experiments/scrollview/scrollview.js
2011-11-04 14:49:35 -07:00
Eddie Monge Jr.
0311c91f38
code style cleanup
2011-11-04 14:43:27 -07:00
jblas@adobe.com
0b5f6dab5d
Reworked getInheritedTheme() to avoid closest() and attr(). This new version shaves off 200ms of page enhancement time on the forms gallery page on a Droid X (Android 2.1).
2011-11-04 14:11:19 -07:00
Garann Means
6699dab7d1
Corrected logic for locating entities in titles
2011-11-04 15:08:10 -05:00
jblas@adobe.com
2b2b8bf026
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-04 11:04:27 -07:00
jblas@adobe.com
b7c88e4d08
Added unit test case for issue #2520 (No longer able to remove / expire pages reliably).
2011-11-04 11:03:50 -07:00
jblas@adobe.com
97e3f8a800
Fix for issue #2520 - No longer able to remove / expire pages reliably
...
- Modified loadPage() so that if we are attempting to load the first page of the application document, that we first check to make sure it is in the DOM before returning our cached copy. If it is not in the DOM, we let it fall through to the ajax loading code so that it gets recreated. This is necessary since some developers are agressively pruning pages, including embedded ones, for various reasons.
2011-11-04 10:58:44 -07:00
Garann Means
d7d52544e7
Fix for #1447 - create element and read text from there to unescape entities in page title
2011-11-04 12:33:07 -05:00
Dan Heberden
dc8d538b44
Fix CSSTHME/CSSTHEME type in Makefile which was preventing build
2011-11-04 09:59:49 -07:00
Todd Parker
3133b36b37
Fixed my poor alphabetical attempt. Footer is after fieldset. Done.
2011-11-03 23:25:16 -04:00
Todd Parker
ae27590d18
Added data-track-theme for flip switch
2011-11-03 23:19:13 -04:00
Todd Parker
d5ebf30c3f
Teaked title
2011-11-03 23:09:32 -04:00
Todd Parker
50e0c1a9d9
Added a few fixes and cleanup to data- attr page
2011-11-03 23:08:33 -04:00
Todd Parker
73ee4c995e
Added a data tribute reference page, linked it up
2011-11-03 22:56:54 -04:00
John Bender
b5d6322e03
simple performance recording for page loads
2011-11-02 16:49:36 -07:00
Gabriele Rabbiosi
0e14c98efe
Corrected some tests for the slider widget
2011-11-02 23:58:50 +01:00
toddparker
cdf1d2cc94
Added info on URL passing between pages to scripting and Ajax nav pages
2011-11-02 18:19:26 -04:00
John Bender
408c98322a
whitespace in mobile widget
2011-11-02 14:23:29 -07:00
Petko Bossakov
8387919d26
Issue 2821: prevented caling blur() on a body element, causes bug in IE8
2011-11-02 22:09:25 +02:00
jblas@adobe.com
85927d3995
Sometimes things don't get more "dynamic" if you say "dynamic" too many times.
2011-11-02 10:17:17 -07:00
jblas@adobe.com
931c147e22
Documentation fix for #2914 - Layout events .trigger('updatelayout'); doesn't work with delay/speed
...
- Updated verbage in the 'updatelayout' section so that it is clearer that developers should trigger this event if their application manipulates the content in any way that may trigger a change in the width/height of the page.
2011-11-02 10:14:04 -07:00
John Bender
3503681b91
added comment for Issue #2066 special case
2011-11-02 09:30:07 -07:00
John Bender
dcf4130593
whitespace in core css
2011-11-02 09:29:38 -07:00
Todd Parker
493beeacc7
Merge pull request #2911 from charlieCollins/patch-1
...
Change usage of "the JQuery Mobile" that was repeated several times. Thanks charlieCollins
2011-11-01 15:30:05 -07:00
Mat Marquis
ab486257f7
Fixes #2066 — Select menus now open normally on Android when the page is wrapped in a form element. ♥ you, .NET.
2011-11-01 18:11:48 -04:00
Charlie Collins
c384f89163
Change usage of "the JQuery Mobile" that was repeated several times in one sentence. Also, tried to fix other typos seen on the live site (docuemnt, for example), but they appear to already be correct in source.
2011-11-01 19:05:34 -03:00
jblas@adobe.com
8c81959a7d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-11-01 14:59:36 -07:00
jblas@adobe.com
e056d20728
Some minor listview tweaking to eliminate 1200 $.fn.find calls in our 400 item listview test case.
...
- Moved some of the finds we used to do for every item, out of the processing loop so we do just 3 big finds. This shaves off 200-300ms on iPad iOS 4.3.5.
2011-11-01 14:57:31 -07:00
Todd Parker
5279ba15eb
Merge pull request #2907 from eddiemonge/docs_fixes
...
Change some < to >, fix some code examples
2011-11-01 11:19:21 -07:00
Eddie Monge
503cefc115
Change some < to >, fix some code examples
2011-11-01 11:16:34 -07:00
John Bender
13a0c1508f
Revert "fixed js refs and whitespace in samples Fixes #2904 "
...
This reverts commit c748072bac .
2011-11-01 10:45:14 -07:00
John Bender
c748072bac
fixed js refs and whitespace in samples Fixes #2904
2011-11-01 10:39:26 -07:00
John Bender
010e93152d
Merge pull request #2899 from jpfiset/master
...
Fix for issue #2897
2011-11-01 09:44:43 -07:00
jblas@adobe.com
ebd7e04ce0
More enhancement optimizations:
...
- Modified buttonMarkup so that it checks options against undefined before calling jqmData(). This is necessary because false is a valid option.
- Modified listview so that it doesn't check for a data-counttheme unless it actually has a count item.
2011-11-01 09:26:41 -07:00
toddparker
11dbc5771b
Added link to JS Bin template
2011-11-01 11:36:22 -04:00
Jean-Pierre Fiset
bd5f62cb3c
Fix for issue #2897
2011-11-01 11:00:27 -04:00
Maurice Gottlieb
3080b2a9c4
removing now also the ui-btn-down-x class when button loses focus
2011-11-01 14:34:53 +01:00
jblas@adobe.com
86e4e6fb43
Some code optimizations to speed up page enhancement.
...
- Avoid using $.each() when you can directly iterate on the collection. This avoids extra function calling overhead.
- Avoid calling jqmData() for options that are specified.
- Avoid calling $.fn.wrapInner(), creating the DOM nodes manually is much faster.
2011-10-31 23:45:42 -07:00
John Bender
70571119b7
test that the text and val can update the parent button markup
2011-10-31 14:07:10 -07:00
John Bender
a8202d240d
reference the buttonMarkup text wrapper element through data
2011-10-31 13:24:17 -07:00
John Bender
0ffaab8d22
switched to prop per @eddiemonge
2011-10-31 11:44:56 -07:00
Alex Roberts
6b767b4b8d
Update form button text on refresh.
...
Allows submit button values to change dynamically, and update accordingly in the UI. Such as in the event a button should read "Update" instead of "Save".
2011-10-31 11:05:54 -07:00
Mat Marquis
1c3a4c7a84
Merge pull request #2883 from MauriceG/patch-2
...
Fix for #2881 - Inconsistent background (box-shadow) on themeless dialogs.
2011-10-31 09:05:48 -07:00
Todd Parker
7bf9af787b
Merge pull request #2796 from myakura/bug_2795
...
Fix for the issue #2795 . Thanks myakura!
2011-10-31 08:26:49 -07:00
Maurice Gottlieb
aec206b712
Fix for #2881 - @wilto Could you please review this:
...
Add the ui-overlay-shadow class to both, content and, if there, to the footer.
Then add the ui-corner-bottom-class to the last one.
2011-10-29 16:52:31 +03:00
Masataka Yakura
8d0ca03161
remove "top" from gradient syntax for byte savings and spec compliance
2011-10-29 16:33:53 +09:00
John Bender
fef4b200a6
handle pixel values from calls to $.fn.css('left') in slider tests
2011-10-28 15:58:25 -07:00
Ghislain Seguin
f81888c4e1
Fix for #2865 : when it's the first time we load the page, use the page title if there is one
2011-10-27 22:28:14 -07:00
Ghislain Seguin
3e99437104
Merge pull request #2873 from eddiemonge/patch-1
...
Some code cleanup
2011-10-27 22:20:24 -07:00
Ghislain Seguin
03e63af26f
Merge pull request #2874 from eddiemonge/patch-2
...
Proposed fix for 2847
2011-10-27 22:19:28 -07:00
Todd Parker
6264d95da2
Merge pull request #2812 from redaemn/flip-switch-improvements
...
Fix for issue #2756 - flip toggle slider animated snapping. Thanks redaemn!
2011-10-27 18:31:39 -07:00
Eddie Monge Jr.
5a285701a8
Proposed fix for 2847
2011-10-27 18:10:49 -07:00
Eddie Monge Jr.
c04755d859
Some code cleanup
2011-10-27 18:09:01 -07:00
Todd Parker
fde88b2ec3
Merge pull request #2844 from samatjain/png-opt
...
Losslessly minimize themes’ PNGs. Thanks samatjain!
2011-10-27 17:48:44 -07:00
Ghislain Seguin
5804e364c1
Revert "on page-reload, i believe, toPage.jqmData( "title" ) is null and the page-header-text is always used"
...
This reverts commit 3d0f10d186 .
2011-10-27 15:28:22 -07:00
Ghislain Seguin
23b1510cf8
Merge pull request #2868 from MauriceG/patch-1
...
Fix for #2865 : Page title overridden on (first load) reload
2011-10-27 14:19:17 -07:00
Maurice Gottlieb
3d0f10d186
on page-reload, i believe, toPage.jqmData( "title" ) is null and the page-header-text is always used
2011-10-28 00:00:00 +03:00
John Bender
b0f430d9f8
Merge pull request #2867 from jakeboone02/grammar
...
Grammar correction
2011-10-27 12:19:02 -07:00
Jake Boone
7ada7ba0f1
Grammar correction
2011-10-27 14:53:45 -04:00
John Bender
250316274b
change the credit link to the comment with the snippet
2011-10-27 11:38:34 -07:00
John Bender
4829928ca1
add documentation around application cache issues and a suggested workaround
2011-10-27 11:26:47 -07:00
Mat Marquis
8e6a67d3bb
Additional fix for #2842 — Missed a spot. Full-width form elements due to hidden labels no longer rely on percentage-based left/right padding.
2011-10-27 11:16:46 -04:00
Todd Parker
57ba8d70e1
Merge pull request #2863 from MauriceG/issue_2845
...
Fix issue #2845 : remove xhtml endtag from css-link. Thanks MauriceG!
2011-10-27 08:06:30 -07:00
Todd Parker
6321a69326
Merge pull request #2864 from MauriceG/issue_2528
...
Fixes #2528 - removing listviews glowing corners. Thanks MauriceG!
2011-10-27 07:44:39 -07:00
Maurice Gottlieb
3622e5227a
Fix for issue #2528 removing listviews glowing corners
2011-10-27 15:28:05 +02:00
Maurice Gottlieb
d59a9d8b15
Fix issue #2845 : remove xhtml endtag from css-link
2011-10-27 14:45:32 +02:00
Mat Marquis
26831aa66f
Fixes #2629 , fixes #2628 — Replacing ‘background: transparent’ with #fff, rgba(255,255,255,0), and an opacity filter solves this.
2011-10-26 17:57:03 -04:00
Mat Marquis
410a169b2b
Fixes an issue introduced in commit #b0db8976, where lack of indexOf() was keeping IE 6/7/8 (at least) from rendering anything at all.
2011-10-26 16:54:11 -04:00
Mat Marquis
6b85cdbd99
Fixes #1077 , fixes #2683 — Reverts fixed positioning to hide .ui-collapsible-heading-status (added in commit #c94c6bf). Uses ‘top: -9999px’ to hide element in lieu of ‘left: -9999px’, so as not to trigger Firefox 7’s ellipsis bug.
2011-10-26 16:12:56 -04:00
jblas@adobe.com
3e0928fcb9
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-26 11:36:31 -07:00
jblas@adobe.com
1405a9453f
Add the XHR object to the data passed to loadpage and loadpagefailed callbacks. This was a low-hanging-fruit enhancement request for issue #2503 - User can't specify own error handling logic.
2011-10-26 11:34:27 -07:00
toddparker
bc97aa6532
Switched font-family TR tokens to /*{global-font-family}*/;
...
This makes all swatch fonts adhere to the global font family set in
ThemeRoller. This can be manually edited to further customize the
theme, but we're simplifying the TR UI.
2011-10-26 14:09:41 -04:00
toddparker
6a44236fb1
Fixed extra vertical padding for footers within dialogs
2011-10-26 14:03:27 -04:00
John Bender
28e860f121
Merge pull request #2840 from eddiemonge/min_license
...
Standardize licenses in files and match jQuery core min license in min fi
2011-10-26 10:55:47 -07:00
Mat Marquis
b4a3641820
Fixes #2842 , reverts change made in commit #0f81773 — percentage-based textarea/text input padding is ignored in Firefox. Current Firefox. In 2011. Submitted with comment.
2011-10-26 13:17:13 -04:00
Todd Parker
3f488e1cd6
Update to set the z-index of custom select menus to stack on top of fixed toolbars. Fixes #2799 .
2011-10-26 13:16:40 -03:00
jblas@adobe.com
b37bf0223c
Added unit tests for issue #2835 - pagechangefailed not triggered when changing to non-existent internal page.
2011-10-25 17:07:31 -07:00
jblas@adobe.com
9a4eb1d833
Fix for issue #2835 - pagechangefailed not triggered when changing to non-existent internal page
...
- Modified loadPage() so that it bails if an embedded page is not found within the DOM.
2011-10-25 17:06:01 -07:00
Samat K Jain
54a2ac80c4
Losslessly minimize themes’ PNGs
...
Minimized themes’ PNGs for a space savings of 17%.
2011-10-25 15:50:29 -06:00
Eddie Monge
f6e319ef8a
Standardize licenses in files and match jQuery core min license in min files
2011-10-25 11:15:19 -07:00
John Bender
580b376566
add a quick todo for a better possible solution for passing clicks from the label to the input
2011-10-25 10:55:30 -07:00
John Bender
6549b42ab5
test that clicks bound to labeled checkbox input are fired by label clicks
2011-10-25 10:55:13 -07:00
John Bender
4daed58a16
use triggerHandler to trigger click handler's bound to inputs on label click Fixes #1335
2011-10-25 10:53:20 -07:00
Ghislain Seguin
d8c0fb961f
Merge pull request #2816 from MauriceG/patch-15
...
docs: repeated explanation for disable link based buttons removed at forms basics page
2011-10-24 18:59:41 -07:00
jblas@adobe.com
2b773393a8
Merge remote-tracking branch 'upstream/master'
2011-10-24 10:29:20 -07:00
Kin Blas
777d16c7cd
Merge pull request #2823 from mcherbie/master
...
Doc Fix for Fixed Toolbar
2011-10-24 10:12:45 -07:00
Michael
0b177677d8
Prepend $.mobile to docs to fix code example
2011-10-24 10:00:37 -07:00
Gabriele Rabbiosi
ee05bb5576
Fixed issue #2631 - flip toggle switch animation improved
2011-10-23 14:30:10 +02:00
Maurice Gottlieb
410ca0972f
docs: repeated explanation for disable link based buttons removed
2011-10-23 13:32:35 +03:00
Mat Marquis
53099d8cc4
Re-addresses #2776 , and corrects an issue introduced in pull request #2783 . Incorrect default theme was being set on the backdrop of dialog-style select menus.
2011-10-22 13:21:45 -04:00
Gabriele Rabbiosi
396f8d019e
Issue #2756 - flip toggle switch value can be changed when the switch is disabled
2011-10-22 17:05:05 +02:00
Ghislain Seguin
55d89893a2
Merge pull request #2492 from hpbuniat/search-filter-bar-2416
...
Fix for #2416
2011-10-21 16:48:20 -07:00
Ghislain Seguin
a78fce4399
Merge pull request #2767 from easymovet/patch-1
...
Corrected .delegate() syntax for 'pagecreate' code example
2011-10-21 16:33:11 -07:00
John Bender
78381c6fed
account for dialog or other sub element enhancements
2011-10-21 16:30:07 -07:00
John Bender
6bd2805cb9
corrected commit: find the closest page to pull the keep native selector Fixes #2803
2011-10-21 16:25:19 -07:00
John Bender
1bc2aecc91
Revert "find the closest page to pull the keep native selector Fixes #2803 "
...
This reverts commit 9e1a3cc5a4 .
2011-10-21 16:25:19 -07:00
Ghislain Seguin
16dc76fadf
Merge pull request #2809 from eddiemonge/button_markup
...
Button markup optimization
2011-10-21 16:21:10 -07:00
Ghislain Seguin
3eaa45c577
Merge pull request #2789 from jakeboone02/f-button-styling
...
Add button styling to f swatch for docs
2011-10-21 16:16:28 -07:00
Eddie Monge
b0db897654
Button markup optimization
2011-10-21 16:08:28 -07:00
John Bender
f3c5cd811e
tests to verify that items embedded in page sub elements are enhanced properly
2011-10-21 15:56:26 -07:00
John Bender
9e1a3cc5a4
find the closest page to pull the keep native selector Fixes #2803
2011-10-21 15:56:26 -07:00
gseguin
04b2ec4c41
Revert "Small button markup optimization"
...
This reverts commit c496044a47 .
2011-10-21 15:54:13 -07:00
Ghislain Seguin
7259e48077
Merge pull request #2806 from eddiemonge/btn_markup
...
Small button markup optimization
2011-10-21 15:42:53 -07:00
Eddie Monge
c496044a47
Small button markup optimization
2011-10-21 15:22:43 -07:00
gseguin
e897c66c6f
Fix for issue #2225
2011-10-21 15:22:36 -07:00
Mat Marquis
ac1832a686
Fixes #1077 , somewhat mysteriously. Re-checked native selects across common devices/browsers, which seem unaffected by this change.
2011-10-21 17:14:44 -04:00
jblas@adobe.com
83b5182181
Fixed relative path references added from previous checkin.
2011-10-21 10:28:41 -07:00
Jake Boone
a28e43a2f3
Add button styling to f swatch for docs
2011-10-21 00:27:21 -04:00
toddparker
9e28d854c2
Reverting the last pull request, was causing a JS error and killing enhancement
2011-10-20 21:19:37 -04:00
toddparker
1496f5a485
Revert d61d6b0127953e10b17820cf1fdd14ed22a12c41^..HEAD
2011-10-20 21:18:03 -04:00
Todd Parker
d61d6b0127
Merge pull request #2768 from MauriceG/patch-10
...
fix for #2528 listviews: first list-item has "glowing" corners on top. Thanks MauriceG!
2011-10-20 17:07:05 -07:00
John Bender
742d1c905b
linkBindingEnabled docs
2011-10-20 15:30:29 -07:00
John Bender
89e389c4b7
whitepsace in globalconfig docs
2011-10-20 15:30:04 -07:00
John Bender
1896235247
add linkBindingEnabled tests
2011-10-20 15:16:03 -07:00
John Bender
8f5889a707
add linkBindingEnabled to mobile object for complex apps that want to handle all nav
2011-10-20 15:16:03 -07:00
Mat Marquis
0a84a9eeea
Merge pull request #2783 from MauriceG/patch-14
...
fix for issue #2776 : Select full page menus background wrong color.
2011-10-20 15:14:17 -07:00
Maurice Gottlieb
6e536eb6b5
fix for issue #2776 : Select full page menus background wrong
2011-10-21 01:05:18 +03:00
Todd Parker
efe1896b93
Merge pull request #2780 from MauriceG/patch-13
...
docs: some corrections at Pages & Dialogs / Anatomy of a Page
2011-10-20 14:26:39 -07:00
Maurice Gottlieb
6eb8e7dfaa
docs: some corrections at Pages & Dialogs / Anatomy of a Page
2011-10-21 00:14:21 +03:00
Todd Parker
2d512e1210
Merge pull request #2779 from bjohn465/unenhanced-list-icons
...
Styling ui-li-icon on enhanced lists only. Thanks bjohn465!
2011-10-20 13:55:28 -07:00
Todd Parker
4b869a0d9d
Merge pull request #2777 from MauriceG/patch-12
...
docs: tiny typo at Pages & Dialogs / Page titles
2011-10-20 13:37:08 -07:00
Maurice Gottlieb
6f400e87cf
docs: tiny typo at Pages & Dialogs / Page titles
2011-10-20 23:35:37 +03:00
Brandon Johnson
943d2d65a8
Styling ui-li-icon on enhanced lists only
...
Fixes #2771
2011-10-20 14:22:48 -06:00
Todd Parker
6cf19d6c10
Merge pull request #2774 from MauriceG/patch-11
...
Docs: Tiny typo at API / Theming overview / Theme classes
2011-10-20 13:15:51 -07:00
Maurice Gottlieb
9cdf0236c2
Tiny typo
2011-10-20 23:13:22 +03:00
Todd Parker
0d27f377ac
Merge pull request #2773 from eddiemonge/makefile
...
Makefile fixes #2772 to add structure css files.
2011-10-20 13:10:16 -07:00
Mat Marquis
182a8b4675
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-10-20 16:07:47 -04:00
Mat Marquis
5afe2abecb
Re-applies bottom margin to dialog elements, accidentally removed in 6354bd4260.
2011-10-20 16:07:22 -04:00
Eddie Monge
6ae0073328
Fix makefile to includes structure file
2011-10-20 13:00:34 -07:00
John Bender
4bb744025e
whitespace in button markup
2011-10-20 12:48:10 -07:00
Todd Parker
5ae094ac2c
Merge pull request #2765 from jakeboone02/ui-br-move
...
Fix for #2322 : Move .ui-br out of swatches section of default theme. Thanks jakeboone02
2011-10-20 12:47:00 -07:00
Maurice Gottlieb
e5b123ce75
fix for #2528 listviews: first list-item has "glowing" corners on top
2011-10-20 20:11:39 +03:00
Riaz
f5c03cebd6
Corrected delegate syntax for 'pagecreate' code example
2011-10-20 12:09:11 -05:00
Todd Parker
7fe9cc4f7b
Merge pull request #2757 from jakeboone02/ios-web-app-demo
...
Browse the docs as a fullscreen web app in iOS. Thanks jakeboone02!
2011-10-20 09:45:09 -07:00
Eddie Monge
9cb4110403
Merge branch 'master' of git://github.com/jquery/jquery-mobile
...
* 'master' of git://github.com/jquery/jquery-mobile:
Small grammar correction in docs
Releasing 1.0rc2.
Remove build.xml as it is not as feature rich as the makefile and having two build scripts is redundant
Update README.md
Update README.md
Update to include instructions on how to build using a custom theme.
2011-10-20 09:19:18 -07:00
unknown
6171ba2040
Moved .ui-br class from swatches section to structure section of default theme. Added .ui-br to Valencia theme.
2011-10-20 11:30:40 -04:00
Todd Parker
1d55b38d18
Merge pull request #2758 from jakeboone02/spelling
...
Small grammar correction in docs
2011-10-20 04:02:40 -07:00
Jake Boone
6d64ab9ce3
Small grammar correction in docs
2011-10-20 01:46:33 -04:00
Jake Boone
d44cce50cb
Browse the docs as a fullscreen web app in iOS.
2011-10-20 01:26:47 -04:00
John Resig
f615489c80
Releasing 1.0rc2.
2011-10-19 13:48:38 -07:00
John Bender
abceeb08d5
Merge pull request #2747 from eddiemonge/patch-7
...
Update to include instructions on how to build using a custom theme.
2011-10-19 12:22:56 -07:00
John Bender
91a49c99ed
Merge pull request #2752 from eddiemonge/remove_buildxml
...
Remove buildxml
2011-10-19 12:22:29 -07:00
Eddie Monge
36d962ae19
Merge branch 'master' of git://github.com/jquery/jquery-mobile
...
* 'master' of git://github.com/jquery/jquery-mobile:
Added a blurb about toolbar events for re-positioning
Updated files for RC2
2011-10-19 11:25:54 -07:00
Eddie Monge
beeb2f122b
Remove build.xml as it is not as feature rich as the makefile and having two build scripts is redundant
2011-10-19 11:25:34 -07:00
toddparker
2a9fa45552
Added a blurb about toolbar events for re-positioning
...
Also re-ordered events page to group touch and mouse together
2011-10-19 14:15:32 -04:00
toddparker
57ee9838c4
Updated files for RC2
...
Added RC2 banner, updated anatomy of a page and page templates to point
to RC2. Updated platform page for RC2 too.
2011-10-19 13:53:46 -04:00
Eddie Monge
f6d13a6f7a
Merge branch 'master' of git://github.com/jquery/jquery-mobile
...
* 'master' of git://github.com/jquery/jquery-mobile:
2011-10-19 10:47:09 -07:00
John Bender
4bab093159
Merge pull request #2751 from eddiemonge/master
...
Update ant build to include a structure css files
2011-10-19 10:43:05 -07:00
Eddie Monge
8fa8bfe69c
Merge branch 'master' of git://github.com/jquery/jquery-mobile
...
* 'master' of git://github.com/jquery/jquery-mobile:
move .structure before version in css build put filenames ✨
Added documentation for $.mobile.fixedToolbars.show/hide functions.
cleaned up test to limit event binding bleed
2011-10-19 10:41:46 -07:00
John Bender
54fccebd5e
move .structure before version in css build put filenames ✨
2011-10-19 10:41:23 -07:00
jblas@adobe.com
e080207145
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-19 10:38:32 -07:00
jblas@adobe.com
d723539577
Added documentation for $.mobile.fixedToolbars.show/hide functions.
2011-10-19 10:38:06 -07:00
Eddie Monge
fa2d0e2ec3
Add a structure output to the ant build
2011-10-19 10:36:15 -07:00
John Bender
76d8d3825a
cleaned up test to limit event binding bleed
2011-10-19 10:35:14 -07:00
Mat Marquis
6354bd4260
Merge pull request #2750 from Wilto/dialog-top-margin
...
Adds a little breathing room above dialogs at wider screen sizes.
2011-10-19 10:12:47 -07:00
jblas@adobe.com
8bd3881667
Added entry for the new updatelayout event.
2011-10-19 09:40:52 -07:00
jblas@adobe.com
3130b52b3f
Renamed the custom event I added to fix #2348 from "contentmodified" to "updatelayout" so that it reflects more of what it should be used for. Note that this also affects #2042 and the mention of collapsible in #2596 .
2011-10-19 08:50:01 -07:00
Mat Marquis
95cf4873fd
Adds a little breathing room above dialogs at wider screen sizes.
2011-10-19 11:30:46 -04:00
Eddie Monge Jr.
dbfc000cb3
Update README.md
2011-10-18 20:23:55 -07:00
Eddie Monge Jr.
16ea3fae21
Update README.md
2011-10-18 20:22:21 -07:00
Eddie Monge Jr.
6bc5c659ab
Update to include instructions on how to build using a custom theme.
2011-10-18 20:21:27 -07:00
John Bender
be59c77125
switch to stop propagation on checkbox/radio vmouse
2011-10-18 13:56:31 -07:00
John Bender
18767e5ac1
whitespace in checkbox radio
2011-10-18 13:56:31 -07:00
Mat Marquis
112b3f6f51
Merge pull request #2740 from Wilto/dialog-max-width
...
Fixes #2729 — Sets a max-width of ~600px on dialogs.
2011-10-18 12:06:47 -07:00
Mat Marquis
bb7039c622
Updated docs in reference to issue #2729 .
2011-10-18 14:45:31 -04:00
Mat Marquis
9fbadb0247
Fixes #2729 — Sets a max-width of ~600px on dialogs (inc. full-screen selects), changes disalog width to percentage-based value.
2011-10-18 14:18:11 -04:00
John Bender
2580f889b7
Merge pull request #2733 from eddiemonge/coding_styling
...
Some coding style cleanups
2011-10-18 09:59:30 -07:00
John Bender
0c5d2797a4
Merge branch 'MauriceG-patch-8'
2011-10-18 09:39:48 -07:00
John Bender
911ff69972
test for custom select dialog title update from dom
2011-10-18 09:39:25 -07:00
Mat Marquis
cc20cf9c39
Merge pull request #2737 from Wilto/inline-selects-controlgroup
...
Hopefully, this finally fixes #518 — Custom selects now behave as expected within vertical/horizontal controlgroups.
2011-10-18 09:17:39 -07:00
Mat Marquis
32fad8378d
Hopefully, this finally fixes #518 — Custom selects now behave as expected within vertical/horizontal controlgroups. Docs have been updated accordingly.
2011-10-18 12:12:19 -04:00
John Bender
5fce1154f7
Merge branch 'patch-8' of https://github.com/MauriceG/jquery-mobile into MauriceG-patch-8
2011-10-18 09:06:55 -07:00
Todd Parker
39449430c6
Merge pull request #2732 from eddiemonge/update_readme
...
Update readme. Thanks eddiemonge!
2011-10-18 07:11:15 -07:00
toddparker
c4a95dd12d
Added docs about theme classes and overriding themes, fixed a typo too
2011-10-17 23:15:57 -04:00
jblas@adobe.com
83c79ff6f2
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-17 16:57:08 -07:00
jblas@adobe.com
af870605ac
Removed all of the redundant code used to crawl the DOM upward looking for a theme to inherit from, and replaced it with a call to the new $.mobile.getInheritedTheme() function.
...
Also, fixed a bug in textinput.js that was placing a ui-body-null class on the input element when a data-theme was not specified directly on the input.
2011-10-17 16:54:20 -07:00
Eddie Monge
95674eb3d1
Some coding style cleanups
2011-10-17 16:39:05 -07:00
Eddie Monge
e97ae76dfa
Typo fix
2011-10-17 16:31:48 -07:00
Eddie Monge
5c86ca6480
Readme changes
2011-10-17 16:25:57 -07:00
Maurice Gottlieb
5d662d4a7a
@johnbender
...
Could you please check again?
2011-10-18 01:30:08 +03:00
Todd Parker
575f4f350a
Merge pull request #2728 from eddiemonge/issue_2700
...
Issue 2700: CSS Restructure to create a /css/ folder and a /structure/ and /theme/ folder inside for better organization. Thanks eddiemonge!
2011-10-17 15:00:51 -07:00
Todd Parker
952dd33831
Removed the Python instructions.
2011-10-17 18:55:11 -03:00
Eddie Monge
bcbaa38854
2700: Step 7 Silly me kept putting instead of . Fixed that typo
2011-10-17 14:36:50 -07:00
toddparker
6f67f421bb
Added data-ajax="false" attribute to the link leading to the multi-page template
...
Loading a multipage doc into the dom was causing issues (of course) so
I fixed this up.
2011-10-17 17:34:25 -04:00
Eddie Monge
7a65be6d88
2700: Step 6 Update build and makefiles
2011-10-17 14:11:02 -07:00
Eddie Monge
8bc5e42fb3
2700: Step 5 Update all doc references
2011-10-17 13:51:45 -07:00
Eddie Monge
4a164b232f
2700: Step 4 Update php files to view locally
2011-10-17 13:47:08 -07:00
Eddie Monge
10c6ca2922
2700: Step 3 Move the themes into a themes folder
2011-10-17 13:25:54 -07:00
Eddie Monge
b8833f1885
images should be part of the theme
2011-10-17 13:25:11 -07:00
Eddie Monge
9af1d4c966
2700: Step 2: Separate out core styles from the theme styles
2011-10-17 13:23:48 -07:00
Eddie Monge
2c59250fe3
2700: Step 1: Rename Themes folder
2011-10-17 12:50:53 -07:00
Todd Parker
51b37789bb
Merge pull request #2720 from MauriceG/master
...
Docs forms / selects: double title at dialog-page of non-native-select. Thanks MauriceG!
2011-10-16 15:22:25 -07:00
Maurice Gottlieb
8339c6a889
Title of dialog-page for non-native-selectmenu "your state", red from select-label, had duplicate title cause of non-unique id of selects.
2011-10-17 00:41:20 +03:00
toddparker
dc19bbf810
Reduced the width of the slider at narrow (smartphone) sizes to avoid wrapping
...
On inset lists with embedded forms, the slider was wrapping under the
input.
2011-10-16 00:01:42 -04:00
toddparker
4f2f500cd8
Updated slider / flip switch label typography to match
2011-10-15 23:52:01 -04:00
toddparker
b8f32749d8
Updated grouped button example to avoid wrapping
2011-10-15 23:42:25 -04:00
toddparker
51711b357f
Added examples for each button option
2011-10-15 23:39:06 -04:00
Todd Parker
d7bc5184f9
Merge pull request #2714 from matthewleon/bug_2713
...
Bug 2713. Buttons properly support the data-shadow, data-corners and data-iconshadow attributes. Thanks matthewleon!
2011-10-15 20:32:08 -07:00
toddparker
02b5aeeecb
Text tweak
2011-10-15 23:26:21 -04:00
toddparker
9a04c1a8b3
Added notes about how link-based buttons differ from form buttons
2011-10-15 23:23:52 -04:00
toddparker
d35fec0713
Added a note about the negative margin on lists to docs. Fixes #2715
...
Style note: all standard, non-inset lists have a -15px margin to negate
the 15px of padding on the content area to make lists fill to the edges
of the screen. If you add other widgets above or below a list, the
negative margin may make these elements overlap so you'll need to add
additional spacing in your custom CSS.
2011-10-15 22:31:29 -04:00
Matthew Leon Grinshpun
8b713b26f3
add button tag
2011-10-15 15:13:21 -04:00
Matthew Leon Grinshpun
62459c7cca
fix for button iconshadow
2011-10-15 15:09:45 -04:00
Matthew Leon Grinshpun
6ef1d6ea6c
fix for shadows and corners
2011-10-15 15:00:37 -04:00
Matthew Leon Grinshpun
b1c3de990b
git both tests to fail
2011-10-15 14:56:55 -04:00
Matthew Leon Grinshpun
79c7a225b3
failing button ui shadow tests
2011-10-15 14:49:10 -04:00
toddparker
84729a4fec
Added styling support for input type=color
...
Just for good measure. All HTML5 inputs are now auto enhanced into the
styled versions. We may need to decide if any of these need to be
degraded if the controls are wonky in some browsers.
2011-10-15 09:43:16 -04:00
toddparker
4ce1bfb795
Added new HTML5 date and time input support. Fixes #2144
...
Types added: input type time, date, month, week, date time,
datetime-local to auto for enhancements.
2011-10-15 09:33:06 -04:00
jblas@adobe.com
739373ee79
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-14 16:21:02 -07:00
jblas@adobe.com
2c2be3d9c6
Fixes #2659 - buttons don't inherit page-theme
...
- Insert the fake button container before calling buttonMarkup(). This allows the buttonMarkup() code to accurately calculate theme inheritance.
2011-10-14 16:18:49 -07:00
John Bender
a38b1025b1
Merge pull request #2701 from eddiemonge/compilers
...
Update Compilers
2011-10-14 15:46:19 -07:00
John Bender
a69e906cc7
add bail if the degrade Input page data isn't present
2011-10-14 15:33:50 -07:00
John Bender
f04efbd109
Merge branch 'Issue-#2654' of https://github.com/redaemn/jquery-mobile into redaemn-Issue-#2654
2011-10-14 15:30:36 -07:00
toddparker
b2713fe5d7
Fixed a broken link to the retired forms API page
2011-10-14 18:13:35 -04:00
toddparker
8c28c8b6ef
Added disabled blurb to the form basic page
2011-10-14 18:09:19 -04:00
Todd Parker
9d7b6a82ea
Merge pull request #2712 from Wilto/disabled-sliders-selects
...
Turns off cursor events on disabled custom form inputs.
2011-10-14 14:38:52 -07:00
Mat Marquis
5425e67ad7
Turns off cursor events on disabled custom form inputs.
2011-10-14 17:28:35 -04:00
Todd Parker
d869cab1f0
Merge pull request #2711 from Wilto/disabled-sliders-selects
...
Fixes #2541 — Properly applies “disabled” styling and logic to custom form inputs. Thanks Wilto!
2011-10-14 14:21:16 -07:00
Mat Marquis
d0fc381d6b
Fixes #2541 — Properly applies “disabled” styling and logic to flip switches, sliders, and custom selects based on disabled attribute in underlying input markup.
2011-10-14 17:15:41 -04:00
Todd Parker
87a9d74a08
Merge pull request #2710 from Wilto/a11y-hidden-labels
...
Add .ui-hidden-accessible for hiding elements in an accessible way. Thanks Wilto!
2011-10-14 14:08:41 -07:00
Mat Marquis
a6892a67fc
Add .ui-hidden-accessible for hiding elements in an accessible way; add .ui-hide-label to similarly hide labels/adjust layout within field containers.
2011-10-14 16:52:50 -04:00
toddparker
daeeab8b83
Re-vamped form docs to add in full width examples and clean up demos
2011-10-14 15:59:55 -04:00
toddparker
90d29840f6
Tweaked styles for footer grid example.
2011-10-14 13:00:59 -04:00
toddparker
cd09f54ef3
Updated grid docs, added footer example at the bottom. Fixes #2707
...
Thanks for the suggestion @agcolom!
2011-10-14 12:49:30 -04:00
jblas@adobe.com
ab8deade90
Fixed #2699 - Dialog reverse transition
...
- Moved the settings.transition calculation code before the code that pushes a new history item on the stack. This ensures that the proper transition is stored with the history item.
2011-10-14 09:30:26 -07:00
Todd Parker
832d2376d3
Merge pull request #2708 from Wilto/form-elements-fullwidth
...
Form elements now 100% of parent width, outside of field containers. Thanks Wilto!
2011-10-14 09:26:09 -07:00
Mat Marquis
0f81773a42
Form elements now span entire container width and behave as display: block, outside of field containers.
2011-10-14 12:22:14 -04:00
toddparker
5d45359943
Added design suggestions for header footers
...
Added a section at the bottom of headers explain gin how to roll your
own headers and bars with some CSS classes and custom rules. Linked to
grids from footer page.
2011-10-14 11:52:22 -04:00
toddparker
540c88008e
Added some notes to the toolbar theming page
...
Linked to grid layouts in footer content, highlighted code examples.
2011-10-14 11:29:38 -04:00
toddparker
6ae3008df6
Updated fixed toolbar docs
...
Re-wrote the whole page, added note about
$.fixedToolbars.setTouchToggleEnabled(false) option, known limitations,
touchOverflowEnabled features.
2011-10-14 11:23:44 -04:00
toddparker
127903fd2f
Refined styles so titles in footer aren't truncated as aggressively
...
Titles in headers and footers had the same padding value in the CSS,
but we don't support the same markup conventions for left/right button
slot in the footer so this was truncating too early. Fixes #2706
2011-10-14 10:20:15 -04:00
jblas@adobe.com
1da0eb3c1c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-13 22:51:45 -07:00
jblas@adobe.com
773497b501
Fixed #2348 - lists-search-with-dividers breaks fixed footer
...
- Fixed header/footer code now listens for a custom event "contentmodified" on the document to figure out if it should be repositioned or not. Modified collapsible and listview to fire off contentmodified whenever they modify content. Developers can also fire off this event to trigger position updates for fixed headers/footers, so this could be used to address issue #2042 and the mention of collapsible in #2596 .
2011-10-13 22:45:52 -07:00
John Bender
a949ddb836
alter build xml to follow make files split of structure css from theme css
2011-10-13 21:07:24 -07:00
Eddie Monge
12e0e37e70
Update compiler/compressors
2011-10-13 16:39:41 -07:00
Eddie Monge
85522c2470
Update compiler/compressors
2011-10-13 16:35:06 -07:00
Eddie Monge
ca33b8244b
Update compiler/compressors
2011-10-13 16:34:39 -07:00
Gabriele Rabbiosi
862f58e90c
refactored degradeInputs tests
2011-10-14 01:02:37 +02:00
Gabriele Rabbiosi
9903376f35
degradeInputs now uses the recently introduced keepNativeSelector()
2011-10-14 00:50:29 +02:00
John Bender
99abbbb474
add the version to the structure only css
2011-10-13 15:44:47 -07:00
John Bender
c134acce16
create separate structure and structure.min css
...
This addition is in response to the creation of the theme roller. It doesn't make much sense to include a theme from the framework if the user is adding his/her own from the theme roller or otherwise.
2011-10-13 15:28:06 -07:00
Gabriele Rabbiosi
7c34c5dc4b
Merge branch 'master' of git://github.com/jquery/jquery-mobile into Issue-#2654
2011-10-14 00:25:49 +02:00
John Bender
2de28ee69f
allow users to define keepnative on page elements
2011-10-13 14:53:36 -07:00
Todd Parker
e9040c7123
Merge pull request #2694 from Wilto/version-flag-touchOverflowEnabled
...
Fixes position of ‘current version’ flag on documentation index when touchOverflowEnabled is true. Thanks Wilto!
2011-10-13 13:32:37 -07:00
Mat Marquis
9719454056
Fixes position of ‘current version’ flag on documentation index when touchOverflowEnabled is true.
2011-10-13 16:22:08 -04:00
Gabriele Rabbiosi
1559478aae
Issue #2654 - 'degradeInputs' plugin doesn't trigger on 'create' events; modified plugin and added tests
2011-10-13 22:21:47 +02:00
toddparker
fbec0e3520
Added config test page for jQuery core 1.8B1
2011-10-13 15:46:55 -04:00
toddparker
9fd7c160ef
Created a set of static global config test pages
...
This will make it easy to quickly test key settings by going to:
jquerymobile.com/test/config
This is a bit fragile because refreshing or hitting a link with
rel=external or ajax=false will lose the setting.
2011-10-13 13:59:10 -04:00
toddparker
4d35966e69
Tweaked odd input values in demo page for buttons
2011-10-12 18:08:51 -04:00
Kin Blas
2c7d1785ac
Merge pull request #2687 from eddiemonge/patch-5
...
style cleanups
2011-10-12 14:12:54 -07:00
Eddie Monge Jr.
7c449fc791
style cleanups
2011-10-12 13:10:08 -07:00
John Bender
49325216ed
second half of the test fix from yesterday that was required by the root page url default
2011-10-12 11:54:07 -07:00
John Bender
713c6a0342
fixed broken path tests
...
normally I wouldn't accept re-ordering of tests as a solution to any problem, but the issue here was multiple changepage events overlapping during our tests. generally we have browser state issues in our test suite and we need a general solution for them which will come post 1.0
2011-10-12 11:54:07 -07:00
Todd Parker
adf55d052c
Merge pull request #2684 from myakura/bug_2677
...
Fixes #2677 - Incorrect -moz-background-clip property in Valancia theme. Thanks myakura!
2011-10-12 09:55:34 -07:00
Masataka Yakura
592fc77cd2
fix -moz-background-clip value so that old Firefox can understand. Fix for #2677
2011-10-13 01:17:51 +09:00
toddparker
1c9a18ed79
Fixed CSS border-radius:none invalid in section "Using 3rd party icon sets". Fixes #2129
2011-10-12 11:55:06 -04:00
toddparker
15e984eca6
Re-vamped the navbar docs to fix incorrect info about icon positioning and theming. Fixes #1858 , Fixes #1797 , Fixes #2667 , Fixes #1180 , Fixes #2373
...
The docs incorrectly stated that the icon position could be set per
link, but this is intended as a global setting for the navbar parent.
This is working as designed and helps with visual consistency. If icon
positioning needs to be be adjusted per link, you will need to manually
apply the right classes through JS and may need to tweak CSS because
top/bottom and left/right positions have different heights.
2011-10-12 11:49:26 -04:00
toddparker
e4834a8db7
Fixed typo in code, unnecessary data-role="fieldcontain" attribute. Fixes #2682 . Thanks jarrettaylor
2011-10-12 10:49:31 -04:00
John Bender
f0db137ed9
render prefetched pages according to their data-rel attr fixes #2335
2011-10-11 16:19:18 -07:00
John Bender
475069becd
added test for prefetched dialog pages
2011-10-11 16:19:18 -07:00
Todd Parker
61f68189d5
Merge pull request #2674 from Wilto/button-text-icon-zindexes
...
Hopefully fixes #1392 — Accounts for z-index issues on elements in buttons. Thanks @Wilto
2011-10-11 15:05:12 -07:00
Mat Marquis
68dba30b4f
Hopefully fixes #1392 — Accounts for z-index issues with input type=submit/button elements, icons, and text within .ui-btn, both inside and outside listviews (including split views). Also accounts for current phase of the moon, just in case.
2011-10-11 17:46:29 -04:00
John Bender
2b5d9a9a3a
correction to nav test to account for root element using the pathname + search
2011-10-11 13:11:11 -07:00
Todd Parker
c9e6c45d55
Merge pull request #2671 from Wilto/text-overflow-in-lists
...
Fixes #2647 — Ensures overflow: hidden is applied to .ui-btn-text inside listviews. Thanks Wilto!
2011-10-11 13:02:14 -07:00
Mat Marquis
aefbe396c4
Fixes #2647 — Ensures overflow: hidden is applied to .ui-btn-text inside selects inside of listviews.
2011-10-11 15:53:43 -04:00
John Bender
e4cf491c2c
missing semi
2011-10-11 11:37:37 -07:00
John Bender
845f657ddf
test that autogrow is triggered on keyup
2011-10-11 11:32:38 -07:00
John Bender
5150114c13
test page init textarea autogrow
2011-10-11 11:32:38 -07:00
Todd Parker
8b1c28439c
Merge pull request #2669 from Wilto/hidden-text-alignment
...
Fixes issue where hidden button text was visibile on wide displays. Thanks Wilto and Sumeruter!
2011-10-11 11:31:29 -07:00
Mat Marquis
231b10fd66
Addresses comment on #2560 ( https://github.com/jquery/jquery-mobile/pull/2560#issuecomment-2365243 )
2011-10-11 14:19:59 -04:00
John Bender
4713bf26d5
remove log statements
2011-10-11 10:47:46 -07:00
John Bender
8dd3def54b
refactor for #509 , move to document ready instead of using ssetTimeout
2011-10-11 10:46:19 -07:00
John Bender
3306a3242c
Merge branch 'master' of https://github.com/mplatov/jquery-mobile into mplatov-master
2011-10-11 10:44:38 -07:00
John Bender
0aec8639d0
fixes to test unit runner for upgrade to qunit
2011-10-11 08:42:26 -07:00
John Bender
2efeafde40
corrected failing checkboxradio test
2011-10-11 08:39:10 -07:00
John Bender
9b73a750d4
use jQuery.trim
2011-10-11 08:31:37 -07:00
toddparker
1d81e4f28e
Added a note about disabling pushState in the "linking pages" section, cleaned up language.
2011-10-11 10:51:22 -04:00
Ghislain Seguin
3082a60586
Merge pull request #2662 from MauriceG/patch-7
...
Fix for #2653 - Firefox 7.0.1 - Collapsible heading gets truncated beginn
2011-10-10 15:23:25 -07:00
Maurice Gottlieb
be7f74262b
Fix for #2653 - Firefox 7.0.1 - Collapsible heading gets truncated beginning of string
2011-10-11 00:51:45 +03:00
John Bender
623433f75b
tests for enhance and exclusion through keepNative
2011-10-10 14:21:37 -07:00
John Bender
b958e84e2c
correction of slider test markup
2011-10-10 14:21:37 -07:00
John Bender
a4836ec5fd
move button to enhanceWithin
2011-10-10 14:21:37 -07:00
John Bender
f368f01a82
correct selector in test
2011-10-10 14:21:37 -07:00
John Bender
ec2c015136
slider enhanceWith tests
2011-10-10 14:21:37 -07:00
John Bender
404010839d
move slider to enhanceWith
2011-10-10 14:21:37 -07:00
John Bender
63ab61cb89
test for enhanceWithin use
2011-10-10 14:21:37 -07:00
John Bender
aa16aec358
move checkbox radio to enhanceWithin
2011-10-10 14:21:37 -07:00
John Bender
18737f4940
test to verify that textinputs are kept native where necessary
2011-10-10 14:21:37 -07:00
John Bender
4ccd9b1bb3
move textinput to widget prototype enhanceWithin
2011-10-10 14:21:37 -07:00
John Bender
9e63d40298
todo for moving the keepnative to the widget itself, whitespace
2011-10-10 14:21:37 -07:00
John Bender
c1bd079b90
test for keepnative on the select menu
2011-10-10 14:21:37 -07:00
John Bender
0e5583eae9
move to a centralized form element selector to leverage keepnative
2011-10-10 14:21:36 -07:00
John Bender
b358985ca2
tests for keepNativeSelector method
2011-10-10 14:21:36 -07:00
John Bender
1b6ac290d2
add keepNativeSelector method to page widget for use in child form creat bindings
2011-10-10 14:21:36 -07:00
Kin Blas
88720d5d01
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-10-10 11:05:43 -07:00
Kin Blas
c297f9675b
Fix for issue #2644 - Navigating to root "/" does not generate clean URL if root page has id="*"
...
- Fixed a bug in the hashchange handler for the pushstate/replacestate plugin that was incorrectly resolving hashchanges for ids against the current location.href, which could be a different document. We now resolve id hashes against the document URL.
- Modified changePage() so that it sets the settings.dataUrl option to the documentUrl, when navigating to the first-page of the application document. This prevents any id on the first-page from being added to the location hash. This means that URLs that used to be produced like this:
http://site.com/apps/#first-page-id
will now display as:
http://site.com/apps/
Developers that wish to get the old behavior back can register a pagebeforechange handler and do something like this:
$( document ).bind( "pagebeforechange", function( e, data ) {
var toPage = data.toPage;
if ( typeof toPage === "object" && !data.options.dataUrl && toPage[ 0 ] === $.mobile.firstPage[ 0 ] && toPage[ 0 ].id ) {
data.options.dataUrl = "#" + toPage[ 0 ].id;
}
});
The handler above will make sure that any page changes to the first-page will always display as:
http://site.com/apps/#first-page-id
2011-10-10 11:04:04 -07:00
toddparker
38e77e5c80
Updated docs to clarify the replaceState known issues and to add docs on the pushStateEnabled option
2011-10-10 13:14:59 -04:00
John Bender
a589da3936
added 'known issues' bullet for (push|replace)State
2011-10-07 17:11:30 -07:00
John Bender
cddd16a02b
added warning to documentation for (push|replace)State plugin pertaining to external link issues
2011-10-07 16:03:28 -07:00
John Bender
479585e1ff
whitespace in navmodel docs
2011-10-07 16:03:28 -07:00
scottjehl
09c92b516d
Merge remote branch 'origin/master'
2011-10-07 18:50:30 -04:00
scottjehl
513940b88c
removed focus outline disabling on buttons and active state, which addresses issue #2639 , and helps with keyboard navigation.
2011-10-07 18:50:11 -04:00
scottjehl
f0403f9d9f
set native touch overflow enabling back to false
2011-10-07 18:48:38 -04:00
John Bender
92baba02d4
orientation change check requires stubbing onorientationchange
2011-10-07 13:32:34 -07:00
John Bender
c2c7af8876
fix for failing tests adding root page to the dom twice because of the search string
2011-10-07 13:30:31 -07:00
Kin Blas
9983e96382
Added the tools directory to the Makefile so it gets copied when making nightlies and demos.
2011-10-07 09:36:12 -07:00
Kin Blas
e3f45bf0f3
First pass implementation of a page event logger bookmarklet to help us quickly diagnose navigation problems for external jQuery Mobile sites. Users can either follow the instructions for using/setting up the bookmarklet in log-page-events.html, or simply include the log-page-events.js directly in their source.
2011-10-07 09:31:28 -07:00
scottjehl
dc90ef39f6
clarified some of the points on scripting pages
2011-10-07 10:58:34 -04:00
Todd Parker
da2352a7ad
Merge pull request #2622 from Wilto/search-iconpos
...
Fixes #2571 , Fixes #2590 , Fixes #2576 — Improperly scoped “position: relative;” on .ui-btn-text. Thanks Wilto!
2011-10-05 14:26:50 -07:00
Mat Marquis
772a4790a1
Fixes #2571 , Fixes #2590 , Fixes #2576 — All three issues were caused by improperly-scoped “position: relative;” on .ui-btn-text, within listviews.
2011-10-05 16:50:36 -04:00
John Bender
71b0eb0552
move $.fn.text invocation to $.fn.getEncodedTest where the content is being re-added to the dom for xss safety Fixes #2550
2011-10-04 18:25:54 -07:00
Todd Parker
90d8387caf
Merge pull request #2610 from Wilto/listview-rounded-icons
...
Fixes #2593 — Prevents rounded corners on icons in lists. Thanks Wilto!
2011-10-04 15:10:00 -07:00
Mat Marquis
54465515d7
Fixes #2593 — Prevents application of ‘ui-corner-bl’ and ‘ui-corner-tl’ classes to ‘ui-li-thumb’ elements that have a class of ‘ui-li-icon.’
2011-10-04 18:02:52 -04:00
Jörn Zaefferer
23a24f6106
Update to latest QUnit. Fix event tests that were calling both asyncTest
2011-10-04 17:34:33 -04:00
Todd Parker
a783c740e8
Merge pull request #2609 from Wilto/voiceover-double-buttons
...
Fixes #2594 — Button text is no longer read aloud twice. Thanks @Wilto!
2011-10-04 14:10:29 -07:00
Mat Marquis
3c3a777158
Fixes #2594 — Button text is no longer read aloud twice (and treated as two separate navigable items) in iOS VoiceOver.
2011-10-04 16:45:14 -04:00
John Bender
55e11dd8ea
update documentation to highlight timing issues with orientationchange
2011-10-04 13:31:29 -07:00
Todd Parker
32ed8cfbbd
Merge pull request #2607 from Wilto/collapsible-status-text
...
Fixes #2595 — Hidden “click to expand contents” text now updates. Thanks @rogerjohansson and @Wilto
2011-10-04 12:44:03 -07:00
Jörn Zaefferer
0ed1460279
Add swarminject.js to prepare for TestSwarm integration
2011-10-04 15:02:17 -04:00
John Bender
57079e1d6b
add the ability to disable native orientation change support Fixes #793
...
the frequency of the triggered event in certain android releases ( 2.1, 2.2) appears to be dependent on a host of things other than an actual orientation change, eg alerts, zoom, and scrolling. This provides a way for the user to disable it in favor for using throttled resize while still making use of the window.orientation where its available for reliability
2011-10-04 11:54:26 -07:00
toddparker
ff9720281b
Added another check for orientation change event for Android 2.1
2011-10-04 11:54:25 -07:00
John Bender
a0ddaab8e3
fix for incorrect portrait of lanscape value
...
The value attached to the event passed into handlers was based soley on screensize which is problematic given that some implementations (eg Android 2.3) don't change the screensize until after the event is fired. The orientation property appears to report a better value where it is provided so the solution is to prefer what it reports and then fallback to the screensize caculation where necessary.
2011-10-04 11:54:25 -07:00
John Bender
a20bb72a29
whitespace in events
2011-10-04 11:54:25 -07:00
Mat Marquis
4ed1e6ac11
Fixes #2595 — Hidden “click to expand contents” text now changes depending on current expanded/hidden state.
2011-10-04 14:01:08 -04:00
Kin Blas
ec08371aec
Merge pull request #2599 from gabrielschulhof/scrollview-position-relative
...
scrollview: Add "position: relative;" to class ui-scrollview-clip in orde
2011-10-04 01:46:47 -07:00
Gabriel Schulhof
51a4298f96
scrollview: Add "position: relative;" to class ui-scrollview-clip in order to confine scrollbars to scrollview container
2011-10-04 11:35:04 +03:00
toddparker
a252794f36
Merge remote branch 'origin/master'
2011-10-03 17:23:25 -04:00
toddparker
b483eebc78
Added links to bar and content block examples.
2011-10-03 17:22:39 -04:00
toddparker
1791e671c9
Removed global link styles, added in swatch-specific link styles for bar and body.
2011-10-03 17:21:25 -04:00
scottjehl
ead0baf2ab
brought these orientation-based rules back for certain scenarios where they're helpful, such as when js is setting heights in iOS5. No bug fix, just a tweak.
2011-10-03 17:01:05 -04:00
toddparker
1c5fd4c12f
Updated version to 1.0rc2pre
2011-10-03 14:25:13 -04:00
gseguin
7106078f87
Fix for #2592
2011-10-03 09:19:44 -07:00
Kin Blas
8a25599b82
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-30 12:43:30 -07:00
Kin Blas
5811440641
Added a test for diretly loading Urls with a hash that contains just the dialogHashKey. This tests to make sure these issues don't happen again:
...
Issue #2570 - Refreshing a page with #&ui-state=dialog causes syntax error
Issue #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
2011-09-30 12:40:57 -07:00
Kin Blas
98eda9a0f4
Fixes #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
...
- Modified loadPage() to call isFirstPage() with fileUrl instead of absUrl. Since fileUrl is the same as absUrl, but with the dialogHashKey stripped off, it will allow us to match against the url for the first-page.
2011-09-30 12:38:16 -07:00
Kin Blas
5a76ae7ed2
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-30 09:19:15 -07:00
Kin Blas
bafc18723b
Fixes #2574 - namespace pollution on 'search' variable (1.0rc1)
...
- There was a typo in the var declaration in makeUrlAbsolute(). Changed the ';' in the middle of the declaration to ','.
2011-09-30 09:17:05 -07:00
gseguin
d5d3f47294
Added a link to jsbin and jsfiddle in the submitting bugs section
2011-09-29 15:56:30 -07:00
scottjehl
b4a7db2f1d
brought back these orientation rules as they're important in iOS5 layouts.
2011-09-29 18:38:15 -04:00
Kin Blas
52c9f35d47
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-29 15:19:46 -07:00
Kin Blas
47812171f1
Fixes #2570 - Refreshing a page with #&ui-state=dialog causes syntax error
...
- This was a regression from my fix to loadPage() for detecting un-enhanced pages by @id as a fallback. In this particular case dataUrl was being used to create an id selector, and of course if the dataUrl is an empty string we end up using "#" as the selector. The fix is to simply check for a non-empty dataUrl.
2011-09-29 15:16:21 -07:00
John Resig
349daaffa7
Tagging 1.0rc1.
2011-09-29 17:05:19 -04:00
toddparker
5b1294f7c4
Fixed typo.
2011-09-29 16:40:55 -04:00
scottjehl
ce1e464275
adjusted the presentation of the left nav and footer for the docs
2011-09-29 16:35:31 -04:00
toddparker
836eae81cc
Merge remote branch 'origin/master'
2011-09-29 16:23:12 -04:00
toddparker
539713b9f9
Edited the features page to bring it up-to-date
2011-09-29 16:22:46 -04:00
scottjehl
1dbb08a7a7
Merge remote branch 'origin/master'
2011-09-29 15:28:30 -04:00
scottjehl
94c57aaa82
adjusted docs left column
2011-09-29 15:28:20 -04:00
toddparker
3aa1c6fac0
Added RC1 banner image
2011-09-29 15:14:17 -04:00
scottjehl
8c2b1d9f55
removed media classes from make file, following up to previous commits
2011-09-29 14:55:41 -04:00
scottjehl
de40dac5dc
added reference to Respond.js polyfill for those using CSS3 Media Queries.
2011-09-29 14:52:59 -04:00
scottjehl
e29346daf5
Merge remote branch 'origin/master'
2011-09-29 14:47:24 -04:00
scottjehl
a93c4878aa
removed media classes JS - deprecated since Beta 1. Use CSS3 Media Queries with a polyfill instead :) Docs are updated to link to old code in case anyone still needs a backwards-port
2011-09-29 14:47:05 -04:00
scottjehl
ea3a34e055
changed comment in JS
2011-09-29 14:46:06 -04:00
toddparker
5c7a802d23
Updated dependencies in templates to point to 1.0rc1 and 1.6.4
2011-09-29 14:28:12 -04:00
scottjehl
8a76335682
These orientation heights that were mainly tied to iOS are no longer needed, as viewport height is managed via JS
2011-09-29 14:27:49 -04:00
toddparker
85a70a75c5
Updated supported platforms for RC1
2011-09-29 14:25:38 -04:00
maggiewachs
ac07bb6309
clarified intro text
2011-09-29 13:43:47 -04:00
maggiewachs
9b49cfe1a1
edit to form button description
2011-09-29 13:40:39 -04:00
maggiewachs
e3644c8fd9
clarified blurb about how events are preserved for form buttons
2011-09-29 13:39:54 -04:00
maggiewachs
0b5bd9ed06
fixed broken links
2011-09-29 13:06:04 -04:00
maggiewachs
8c86f407d0
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-09-29 13:04:05 -04:00
maggiewachs
1fbc401496
simplified language
2011-09-29 13:04:00 -04:00
maggiewachs
5dbc616e37
added note style
2011-09-29 13:03:50 -04:00
maggiewachs
108ef2337e
added nav bar and updated content (now includes a nav bar for options, methods, and events pages)
2011-09-29 13:03:35 -04:00
maggiewachs
3eccc5ba16
added to repo
2011-09-29 13:03:00 -04:00
Kin Blas
b2dad0ea05
Updated the $.mobile.loadPage() sample in the pre-fetch section so that it passes in the showLoadMsg:false option to prevent the ajax loading message from popping up.
2011-09-29 09:23:39 -07:00
maggiewachs
0f73dd2a24
removed plugin events and methods page from nav (keeping it in the directory to redirect)
2011-09-29 11:33:32 -04:00
maggiewachs
9d9175b305
corrected the nav "on" state
2011-09-29 10:58:28 -04:00
maggiewachs
312b726238
updated forms nav links
2011-09-29 10:52:58 -04:00
Kin Blas
bb8326876b
Fixes #2212 - Collapsible heading vclick issue
...
- Switch to using "click" instead of "vclick" on collapsible headers since that is the only reliable way to prevent uncaught/mismatched clicks from firing on a different element.
2011-09-29 00:43:01 -07:00
Kin Blas
f6b2a9c700
Added additional verbage to the virtual mouse events section.
2011-09-29 00:31:02 -07:00
Kin Blas
405db8efa2
Added documentation for page change and remove event notifications.
2011-09-28 23:40:37 -07:00
Kin Blas
972500bbbc
Re-merge pull request #1550 from MaxThrax/master.
...
- Not sure what happened when I originally merged this back on 05/02/2011, but here it is again!
2011-09-28 22:08:30 -07:00
Ghislain Seguin
0c829f5bfe
Merge pull request #2564 from eddiemonge/patch-3
...
Typo when specifying a test-shadow.
2011-09-28 19:28:12 -07:00
Eddie Monge Jr.
ec6b1b4671
Typo when specifying a test-shadow.
2011-09-28 19:19:42 -07:00
Kin Blas
91de92f627
First pass attempt at documenting the pagebeforeload, pageload, and pageloadfailed events.
2011-09-28 14:50:01 -07:00
Kin Blas
ca5834dc9d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-28 13:25:05 -07:00
Kin Blas
016b415027
Updated and alphabetically re-ordered the options for changePage() and loadPage().
2011-09-28 13:23:51 -07:00
maggiewachs
cb7fc442b7
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-09-28 16:03:03 -04:00
maggiewachs
de675361f7
updated form section nav
2011-09-28 16:02:56 -04:00
maggiewachs
e604a61f1f
removed old file
2011-09-28 16:02:34 -04:00
maggiewachs
3d46126d29
added to repo
2011-09-28 16:02:28 -04:00
Scott Jehl
79708df1c0
Merge pull request #2560 from Wilto/notext_icons_ie7-wp7
...
Fix for disappearing notext icons in IE7/WP7.
2011-09-28 12:58:24 -07:00
Mat Marquis
99d5ea690a
Fixes #1230 — Looks like there was an extranious “text-indent: -9999px” set on the buttons themselves, which was causing IE to hide the icons (as they’re inline). Since it doesn’t look like text can possibly exist outside of .ui-btn-text, it should be safe to remove it.
2011-09-28 15:40:40 -04:00
maggiewachs
7e567f0375
removed refresh description from main page (now on methods tab)
2011-09-28 15:33:06 -04:00
maggiewachs
e1552c29b6
edited refresh description
2011-09-28 15:32:44 -04:00
maggiewachs
725210673b
updated nav options and standardized options descriptions
2011-09-28 15:19:54 -04:00
maggiewachs
afe1ea5a9a
added to repo
2011-09-28 15:19:32 -04:00
maggiewachs
9c5442038b
removed old file
2011-09-28 15:19:21 -04:00
maggiewachs
d4b10bbcda
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-09-28 14:52:58 -04:00
maggiewachs
dabd071087
updated options
2011-09-28 14:52:48 -04:00
maggiewachs
6976df6c50
added 'calling plugin' section
2011-09-28 14:52:27 -04:00
maggiewachs
3a52bc1740
updated options
2011-09-28 14:52:06 -04:00
maggiewachs
fad253ffbb
removed old file
2011-09-28 14:51:56 -04:00
Kin Blas
d64eaf0500
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-28 11:40:33 -07:00
Kin Blas
880df5fcf5
Added unit test for issue #2537 - Add new pageremove event.
...
The test makes use of a pageremove callback that conditionally calls preventDefault() on the event so that the test can make sure a developer can prevent a specific page from being removed from the DOM.
2011-09-28 11:38:18 -07:00
Kin Blas
34fb7b2dc1
Fixes #2537 - Add new pageremove event
...
- Modified the pagehide callback in $.mobile._bindPageRemove() so that it fires off a "pageremove" event. Callbacks can prevent the removal of the page by simply calling preventDefault() on the pagremove event object that is passed to their callback.
2011-09-28 11:37:46 -07:00
Mat Marquis
a1c5173e3b
Merge remote-tracking branch 'upstream/master'
2011-09-28 14:22:18 -04:00
scottjehl
4618b1253f
Merge remote branch 'origin/master'
2011-09-28 14:10:09 -04:00
scottjehl
4c404e50b6
Removed the separate search icon image and used the one from the sprite instead. Because of this, we'll save a request, but the icon is slightly different as a result (it has a disc, making it consistent with other icons in the framework).
2011-09-28 14:09:55 -04:00
gseguin
b0969d1bcf
Merge branch 'issue-2527'
2011-09-28 11:03:18 -07:00
gseguin
bc2243342d
Changed collapsible tests following fix for #2527
2011-09-28 11:01:58 -07:00
gseguin
b84a68edaa
Missing semi-colon
2011-09-28 10:57:46 -07:00
gseguin
5a97fd7b05
Fix for #2527
...
Use ui-body-* instead of ui-btn-up-* for collapsible content
2011-09-28 10:57:24 -07:00
Todd Parker
ee35ca635f
Merge pull request #2556 from Wilto/master
...
Assorted CSS adjustments. Fixes #1392 , Fixes #2513 . Thanks Wilto!
2011-09-28 10:54:17 -07:00
Kin Blas
ca9df1197a
Fixes #2529 - Transition to the same page
...
- So it seems just allowing changePage() to process same toPage and fromPage is not enough. I modified the CSS3 keyframe
animation plugin so that it only removes the ui-page-active class from the fromPage if it is *NOT* the same as the toPage.
- I also re-ordered the in/out transition rules for forward/reverse transitions so that the user always views some sort of animation/motion.
2011-09-28 09:14:52 -07:00
maggiewachs
2b2935b701
clarified initSelector description
2011-09-28 11:14:09 -04:00
maggiewachs
deec3340f2
updated navigation links for the text inputs and slider
2011-09-28 11:01:20 -04:00
maggiewachs
d423d9ec79
changed the folder name from 'sliders' to slider
2011-09-28 11:00:56 -04:00
maggiewachs
c1b1d5c1a6
removed old file
2011-09-28 11:00:44 -04:00
maggiewachs
658433b89c
changed the folder name from 'sliders' to slider
2011-09-28 11:00:37 -04:00
John Bender
9acbcb3b15
add test to guarantee that getEncodedText does not return html
2011-09-27 15:55:44 -07:00
John Bender
d816fe1ec1
tests for getEncodedText helper and issue #2547
2011-09-27 15:48:52 -07:00
John Bender
ac0288a5ba
create getEncodedText helper and update custom select for use Fixes #2547
2011-09-27 15:19:35 -07:00
Mat Marquis
02c41bedd6
Slight tweak to styling of buttons with data-iconpos=[top/bottom].
2011-09-27 17:27:53 -04:00
Mat Marquis
085a104005
Fixes #2538 — Button wasn’t getting the appropriate “has-count” class.
2011-09-27 16:47:11 -04:00
scottjehl
3a337e98c7
Merge remote branch 'origin/master'
2011-09-27 16:27:23 -04:00
maggiewachs
4893f5d2eb
removed old file
2011-09-27 16:01:46 -04:00
maggiewachs
c342f7b8d3
removed - changed folder name
2011-09-27 16:00:56 -04:00
maggiewachs
5093d28d59
updated the nav link to textinputs
2011-09-27 16:00:03 -04:00
maggiewachs
d77849a9ac
changed the folder name to something more descriptive (textinputs rather than texts), and corrected the documentation language (several factual errors)
2011-09-27 15:59:39 -04:00
Mat Marquis
f0a7d0b963
Fixes #2513 — Also addresses issue where 1px top border highlight on controlgroup buttons was aligned with top of icon, rather than the top of the button.
2011-09-27 15:55:19 -04:00
Mat Marquis
252c269bf5
Merge remote-tracking branch 'upstream/master'
2011-09-27 15:21:54 -04:00
scottjehl
083f69d018
Undeleted some "features" that seemed to keep bugs at bay. Fixes #2545 . Fixes #2476
2011-09-27 15:17:25 -04:00
Mat Marquis
d1002ba968
Fixes #2532 — Regression introduced while addressing #1392 .
2011-09-27 14:24:44 -04:00
Mat Marquis
b0df463af9
Fixes issue where clicking the edges of a custom select wouldn’t trigger the native select list, as well as an issue where the native select list was showing then immediately hiding in IE7.
2011-09-27 14:21:34 -04:00
toddparker
08736c3dda
Merge remote branch 'origin/master'
2011-09-27 13:38:11 -04:00
toddparker
8669913fa7
Removed outdated device photo from intro page
2011-09-27 13:37:50 -04:00
scottjehl
fdc48805e9
Merge remote branch 'origin/master'
2011-09-27 12:37:17 -04:00
scottjehl
9b86fddf89
disabled touch overflow scrolling by default. overridable through $.mobile.touchOverflowEnabled.
2011-09-27 12:37:10 -04:00
scottjehl
47480d69f9
when touch overflow scrolling is supported and enabled, user scaling can create serious usability issues where it's difficult to get zoomed back out. This disables user scaling when that overflow scrolling is enabled (currently only projected for ios5 support)
2011-09-27 12:36:24 -04:00
scottjehl
1ad3eeaf98
accelerate elements within the page in touch-enabled scenarios to prevent hidden elements (not just blinking, but flat-out disappearing)
2011-09-27 12:34:17 -04:00
toddparker
8e2f6fa341
Fixed a code typo in the theme example
2011-09-26 16:22:55 -04:00
toddparker
72535d11b3
Added improved collpsible theming docs
2011-09-26 16:21:32 -04:00
Kin Blas
a975878fb4
Disabled the workaround for issue 785 (jQM text input forces use of iOS auto-correction) on iOS 5 devices since it appears to be fixed. This is still a problem on iOS 4.x and earlier.
...
- We don't have a specific test for iOS 5 so we use $.support.touchOverflow as an iOS 5 and later indicator. Yes, I feel dirty.
2011-09-26 11:39:30 -07:00
Kin Blas
6cd1e1b141
Fix for issue 2529 - Transition to the same page
...
- Added a new allowSamePageTransition option to the changePage() method default settings.
By default, we prevent changePage() requests when the fromPage and toPage are the same element, but folks that generate content manually/dynamically and reuse pages want to be able to transition to the same page. To allow
this, they will need to change the default value of allowSamePageTransition to true, *OR*, pass it in as an option when they manually call changePage().
It should be noted that our default transition animations assume that the formPage and toPage are different elements, so they may behave unexpectedly. It is up to the developer that turns on the allowSamePageTransitiona option
to either turn off transition animations, or make sure that an appropriate animation transition is used.
// To toggle the default behavior for all changePage() calls,
// set the default value of allowSamePageTransition to whatever
// you want it to be. The default is false.
$.mobile.changePage.defaults.allowSamePageTransition = true;
// To specify the behavior when manually calling changePage(),
// pass it as an option. If not specified, the default value
// specified by $.mobile.changepage.defaults.allowSamePageTransition
// is used.
$.mobile.changePage( "#reused-page", { allowSamePageTransition: true } );
2011-09-26 10:23:47 -07:00
Todd Parker
86ab89497a
Merge pull request #2522 from bobbravo2/patch-1
...
fixed typos and added @deprecated note to the $.mobile.addResolutionBreak. Thanks bobbravo2!
2011-09-26 07:10:20 -07:00
Ghislain Seguin
1477950a3f
Merge pull request #2526 from MauriceG/patch-5
...
correcting typos and use consistent titling "Theming buttons"
2011-09-25 16:12:47 -07:00
Maurice Gottlieb
362cab5343
correct typos and use consistent titling "Theming buttons"
2011-09-26 01:29:41 +03:00
Todd Parker
4ca42592c1
Merge pull request #2525 from MauriceG/patch-4
...
correct some typos and correction for #2524 . Thanks MauriceG!
2011-09-25 11:43:09 -07:00
Maurice Gottlieb
8539423a56
correct some typos and correction for #2524
2011-09-25 20:36:32 +03:00
gseguin
6db3ca1390
Fix for #2524
...
Fix collapsible docs to match actual behavior
2011-09-25 08:22:53 -07:00
Hans-Peter Buniat
68e2839209
removed settimeout
2011-09-25 14:12:55 +02:00
gseguin
5bd72c7b96
Merge branch 'collapsible-redesign'
2011-09-24 22:12:22 -07:00
gseguin
16c34ce3ac
Behavior changed, fixed test
2011-09-24 22:02:18 -07:00
gseguin
276f27fbfa
Fixed missing top corner on collapsible set with only one collapsible
2011-09-24 21:58:04 -07:00
gseguin
3ecbf8e383
Simplified code. Don't add data-* attr if not set by user
2011-09-24 21:41:20 -07:00
gseguin
553de2d265
Unit tests for collapsible and collapsible-set following commit bdaa477f68
2011-09-24 17:24:07 -07:00
gseguin
bdaa477f68
Fix for #1899
...
Added data-content-theme to style the content of the collapsible
data-theme and data-content-theme inherit collapsible-set's
2011-09-24 17:22:55 -07:00
Robert Gregor
a41c2ce8d1
fixed typos and added @deprecated note to the $.mobile.addResolutionBreakpoints method
2011-09-24 17:31:35 -03:00
scottjehl
e81e3b19c0
fixed positioning of selects in touch overflow scroll mode. Fixes #2415
2011-09-24 01:00:42 -04:00
scottjehl
23e79fb1db
better fix for the ios5 height issue with the bottom of the page.
2011-09-24 00:55:50 -04:00
scottjehl
52e1022697
adjusted the fallback heights. addresses the ios5 fixed footer alignment described in issue #2415
2011-09-24 00:33:44 -04:00
scottjehl
e794ad0f11
Merge remote branch 'origin/master'
2011-09-24 00:04:42 -04:00
scottjehl
569d55acf9
addresses issue #2415 - applying a transform gets rid of the element peekaboos for headers, and other content in the page. We'll need to monitor this one this week and see what the memory impact is before keeping it.
2011-09-24 00:04:34 -04:00
John Bender
e8f87f864f
test to cover text inputs without types
2011-09-23 20:45:55 -07:00
John Bender
aa679a9b0f
add inputs without a type to the text input list Fixes #2205
2011-09-23 20:44:48 -07:00
John Bender
3d88760019
whitespace in mobile forms textinput
2011-09-23 20:43:56 -07:00
John Bender
20810a00e5
test to verify removal of child menupages
2011-09-23 16:32:56 -07:00
John Bender
f029230e3a
handle all dialog closing cases
2011-09-23 16:32:56 -07:00
John Bender
4852491f9e
test for new core helpers
2011-09-23 16:32:56 -07:00
John Bender
eca88ea818
quick rename to addDependents
2011-09-23 16:32:56 -07:00
John Bender
890c96146e
test core helpers
2011-09-23 16:32:56 -07:00
John Bender
76eb594cd1
fix nav test to use close button in dialog and not data rel back
2011-09-23 16:32:56 -07:00
John Bender
e741bc2da6
force close logic of custom select to run when close is clicked, centralize the binding for pagehide.remove
2011-09-23 16:32:56 -07:00
John Bender
b837a49b32
add dependent tracking functions for jquery mobile objects
2011-09-23 16:32:56 -07:00
John Bender
eb7c4d08d8
closed tags in test redirect pages
2011-09-23 16:32:56 -07:00
scottjehl
b2d023732a
Fixes #2490 where IE (and WP7) were not properly degrading form inputs via the degradeinputs plugin (and search inputs were not being styled as such)
2011-09-23 19:17:22 -04:00
Scott Jehl
adc1ecc2e6
Merge pull request #2519 from Wilto/master
...
Various and Sundry Fixes
2011-09-23 15:20:19 -07:00
Mat Marquis
ecc1361f7f
For the sake of jQuery’s serialize, submit inputs’ values are added to the form as a hidden input—this ensures it will only happen once, and that this logic only applies to submit inputs with a name attribute.
2011-09-23 18:10:03 -04:00
Mat Marquis
dec502d2c8
Prevents “undefined is null or not an object” error in IE, where .scrollTop() was being called before the body was ready.
2011-09-23 18:05:12 -04:00
Mat Marquis
078d317e63
Potentially addresses #1927 — Using “filter” for opacity was causing strange issues in IE, making all but the text on submit inputs click-proof. Bears further testing, if someone wouldn’t mind taking a look.
2011-09-23 18:00:13 -04:00
Kin Blas
40570e294d
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-23 14:23:55 -07:00
Kin Blas
4f066b7e07
Fix for issue 2503 - User can't specify own error handling logic
...
- Added the following notifications to $.mobile.loadPage():
- pagebeforeload
- Triggered just before loadPage() attempts to dynamically load an external page.
- Developers can prevent the default loading behavior by calling preventDefault() on the event. If preventDefault() is called, it is up to the developer to call resolve()/reject() on the deferred object passed within the data object (2nd arg to the event callback).
- pageload
- Triggered after an external page has been loaded and inserted into the document.
- pageloadfailed
- Triggered when the load of an external page fails.
- Developers can prevent the default behavior (error dialog display) by calling preventDefault() on the event. If preventDefault() is called, it is up to the developer to call resolve()/reject() on the deferred object (2nd arg to the event callback).
2011-09-23 14:12:40 -07:00
Ghislain Seguin
659bc45f74
Merge pull request #2517 from Wilto/master
...
Fixes #2516 — Tightens scope of a previous fix for clicks not registering on listview buttons’ icons.
2011-09-23 14:10:38 -07:00
Mat Marquis
848d1a72a3
Fixes #2516 — Tightens scope of a previous fix for clicks not registering on listview buttons’ icons.
2011-09-23 16:57:57 -04:00
toddparker
eaf5822c65
Restored button inline styling by defining inline as an option in the button markup plugin. Fixes #2496
...
The recent jqmData changes exposed this issue. Default for this option
is false.
2011-09-23 15:28:24 -04:00
toddparker
ee6754d9f2
Merge remote branch 'origin/master'
2011-09-23 14:48:19 -04:00
toddparker
af5b666a15
Updated tokenized theme CSS to remove the widget styles that were appended at the end.
2011-09-23 14:48:07 -04:00
Todd Parker
74e9ac6f05
Merge pull request #2515 from bjohn465/master
...
Style count bubble only when list is enhanced for better C grade experience. Thanks bjohn465!
2011-09-23 11:32:26 -07:00
Brandon Johnson
eaa182648e
Styling count only when the list is enhanced
2011-09-23 12:10:33 -06:00
scottjehl
fe35e36a16
linked up the self-submit demo page and added a brief explanation of what happens when post requests submit to a page already represented in the DOM
2011-09-23 09:32:08 -04:00
scottjehl
be5136198e
when a form is submitting via post to a url that already has a page represented in the DOM, replace the current page with the response page of the same url (post params are not passed via q string, so the URLs are identical).
2011-09-23 09:28:43 -04:00
Hans-Peter Buniat
d79c8a63cf
added test for #2416
2011-09-23 08:13:19 +02:00
scottjehl
1badd4aa8e
enable touch overflow scrolling by default where supported
2011-09-22 21:31:03 -04:00
Kin Blas
a5c873e388
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-22 16:25:38 -07:00
Kin Blas
36a47bbb0e
Added slider unit test for issue 2315 - Flip toggle switch with change event bound, triggers multiple times
2011-09-22 16:24:56 -07:00
Kin Blas
4fa6ccdc0d
Fix for issue 2315 - Flip toggle switch with change event bound, triggers multiple times
...
- Modified refresh() so that it checks to see if the value actually changed before firing off the "change" event.
2011-09-22 16:23:43 -07:00
gseguin
114cee84fe
Merge remote branch 'upstream/master'
2011-10-05 15:14:39 -07:00
gseguin
141b199224
Updated tests for $.jqmData() and $.fn.jqmData() to match the new behavior
2011-10-05 15:13:44 -07:00
gseguin
27b51c47e9
Fixed $.jqmData() behavior to match $.fn.jqmData()
2011-10-05 15:12:11 -07:00
John Bender
94bc82f64c
fix for failing checkbox radio test
2011-09-22 15:38:49 -07:00
John Bender
5b42fe6ea0
whitespace in checkboxradio core
2011-09-22 15:38:49 -07:00
John Bender
48928248d9
remove gzip from combine
2011-09-22 14:40:59 -07:00
John Bender
e5e269394e
remove empty else in nav
2011-09-22 14:40:59 -07:00
Todd Parker
539a39e4dd
Merge pull request #2509 from Wilto/master
...
Ensure clicking on buttons’ icons result in a click (can only recreate in desktop browsers). Fixes #1392 . Thanks Wilto!
2011-09-22 14:03:30 -07:00
Mat Marquis
088454dc1a
Fixes #1392 — Positions .ui-icon on lower z-index than .ui-btn-text, ensuring the click will register on the latter.
2011-09-22 16:56:37 -04:00
Todd Parker
d0364c5139
Merge pull request #2507 from Wilto/42f7dccd7ea99fdb803ce52994c0c703bd12dd0f
...
Fixes #1666 — .ui-checkbox/.ui-radio floated rather than inline, to fix height and properly hide checkboxes/radios. Visible checkboxes/radios below labels in FF4+ (Windows). Thanks Wilto!
2011-09-22 13:30:19 -07:00
Mat Marquis
42f7dccd7e
Fixes #1666 — .ui-checkbox/.ui-radio floated rather than inline, to fix height and properly hide checkboxes/radios.
2011-09-22 16:20:47 -04:00
Ghislain Seguin
2f8d1902a2
Merge pull request #2500 from eddiemonge/issue_2499
...
Issue 2499: Some php improvements
2011-09-22 10:43:03 -07:00
gseguin
fb06381176
Set content-theme to collapsible in a set only if it's not already set
2011-09-22 10:28:56 -07:00
gseguin
1692c0f378
Added doc/sample for data-content-theme
2011-09-22 09:49:36 -07:00
gseguin
46e6c6b320
fixed data-content-theme in collapsible-set for collapsible expanded by default
2011-09-22 09:49:02 -07:00
John Bender
2086529728
remove extra local var storage
2011-09-22 08:53:53 -07:00
John Bender
f1d63f4f75
simplify calls to bind by wrapping this as a jquery object
2011-09-22 08:52:45 -07:00
John Bender
9d2b39dca6
whitespace in mobile init
2011-09-22 08:52:45 -07:00
John Bender
9182306ccf
refactor for clarity and simplicity
2011-09-22 08:52:45 -07:00
John Bender
dd75904c11
fix the scrolling test in nav core to account for timing expectations in the page
2011-09-22 08:52:45 -07:00
John Bender
27b228803a
change scroll recording to handle different scroll elements between page changes
2011-09-22 08:52:45 -07:00
John Bender
2f12ff249a
refactor setLastScroll to speed it up a tad
2011-09-22 08:52:09 -07:00
John Bender
3e143c8f66
rename getLastScroll and its variables
2011-09-22 08:52:09 -07:00
John Bender
c363864382
use scrolltop to store scroll position
...
scrolltop as a solution isn't that great but some browsers scroll to the top
of the page to where the element bearing the id matching the hash is located
*before* the hashchange event is fired meaning we don't have an opportunity
in the changepage event lifecycle to record the scrolling properly
2011-09-22 08:52:09 -07:00
Eddie Monge
5bfc08bba2
Issue 2499: Some php improvements
2011-09-21 23:19:37 -07:00
gseguin
4d33ec386b
Merge remote branch 'upstream/master' into collapsible-redesign
2011-09-21 22:26:36 -07:00
gseguin
66e63651a7
Added docs for data-content-theme
2011-09-21 22:25:12 -07:00
gseguin
e666552274
Added data-content-theme to collapsible and collapsible-set
2011-09-21 21:56:23 -07:00
Kin Blas
6b2c1762ff
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-21 15:47:52 -07:00
Kin Blas
7ec8999bd0
Added a navigation test for issue 1243 - Can't link to dynamically created data-role="page"
2011-09-21 15:47:14 -07:00
Kin Blas
80b0e99798
Fix for issue 1243 - Can't link to dynamically created data-role="page"
...
- Modified loadPage() so that if the data-url lookup for a given page fails, that it look for the page via id (if it is an embedded page URL). This allows us to find dynamically injected pages that are un-enhanced and missing their data-url attributes.
2011-09-21 15:46:15 -07:00
Ghislain Seguin
d1c83cd085
Merge pull request #2495 from eddiemonge/issue_2494
...
Issue 2494: Removed accidental css cruft and git info reorder
2011-09-21 13:56:10 -07:00
Eddie Monge
269c592a37
Issue 2494: Removed accidental css cruft and git info reorder
2011-09-21 13:50:35 -07:00
toddparker
61eed992c6
Fixed Nokia test device notation - should be N950.
2011-09-21 15:47:34 -04:00
toddparker
4938d10acf
Fixed BB7 device model, added Meego 1.2 to grade A
2011-09-21 15:21:25 -04:00
toddparker
a9eaf1bb44
Tweaked into for data-url info, thanks @kinblas
2011-09-21 15:20:11 -04:00
toddparker
877b323c7f
Added info on the data-url param rules.
2011-09-21 15:04:07 -04:00
scottjehl
3e2683fe18
Merge remote branch 'origin/master'
2011-09-21 14:59:27 -04:00
scottjehl
38d7ad8848
binding these at mobileinit didn't help anything, and only hurt the ability to use them when jQM is dynamically appended. Idea credit to @martynsmith
2011-09-21 14:59:19 -04:00
Kin Blas
9b0bf5252d
Removed deprecated "beforechangepage", "changepage", and "changepagefailed" event references in preparation for jQM 1.0 release.
...
Updated the unit tests to use "pagechange" event instead of "changepage".
2011-09-20 16:59:30 -07:00
Kin Blas
e7a33dbb45
Removed deprecated navigation related properties:
...
$.mobile.updateHash
$.mobile.urlstack
in preparation for jQM 1.0.
2011-09-20 16:15:44 -07:00
Kin Blas
14bafc510d
Removed support for the alpha signature of $.mobile.changePage() in preparation for jQM 1.0. Folks now how to use the signature that requires the toPage (url or element) as the first arg, and options object as the 2nd.
2011-09-20 15:40:52 -07:00
Kin Blas
dd458d1d4e
Removing the deprecated $.fixedToolbars property in preparation for jQM 1.0.
2011-09-20 15:28:07 -07:00
Kin Blas
58573f90d9
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-20 14:47:09 -07:00
Kin Blas
c75a7ad654
Fix for issue 1666 - Deprecate $.mobile.pageLoading()
...
- Removed $.mobile.pageLoading().
- Updated tests/unit/init/ to call the new showPageLoadingMsg/hidePageLoadingMsg functions.
2011-09-20 14:45:26 -07:00
scottjehl
5fe78d5148
updated jQuery to 1.6.4
2011-09-20 17:42:44 -04:00
scottjehl
41d4640344
moved the support test for event capture, allowing vmouse to run standalone on jQuery Core.
2011-09-20 17:26:36 -04:00
scottjehl
3fdf9d1443
updated version to 1.0rc1pre - long overdue!
2011-09-20 17:24:28 -04:00
Kin Blas
432b876e84
Fix for issue 2474 - [IPAD] change page flicking in landscape[IPAD] change page flicking in landscape
...
- On iOS, giving focus to the ui-page element causes flashing during page animations/transitions. This is due to the CSS outline property which is applied when the page is given focus. Turning outlines off for all pages prevents the flashing.
2011-09-20 14:16:37 -07:00
Hans-Peter Buniat
2051c49cc8
fixed typo (+ -> -) to fix #2416
2011-09-20 06:50:16 +02:00
Todd Parker
44f3218ab9
Merge pull request #2468 from MauriceG/patch-1
...
Fix for issue #2192 labels for form inputs have different vertical alignment. Thanks MauriceG!
2011-09-19 19:27:28 -07:00
Todd Parker
b173815f11
Merge pull request #2469 from MauriceG/patch-2
...
Fix for issue #2192 labels for form inputs have different vertical alignment. Thanks MauriceG!
2011-09-19 18:13:36 -07:00
Todd Parker
8a6c107718
Remove the top "glow" border because it's breaking out in split button lists.
2011-09-19 22:05:33 -03:00
Kin Blas
0fbea8f8e6
Fix for issue 2451:
...
Dialog not working if $.mobile.ajaxEnabled = false
https://github.com/jquery/jquery-mobile/issues/2451
related/dup bug 2202:
Dialog loads in new page with ajaxEnabled = false
https://github.com/jquery/jquery-mobile/issues/2202
- Modified the default click handler to check if the href is for an embedded page before bailing when ajaxEnabled = false. This allows us to navigate to internal/embedded pages/dialogs on the click versus waiting for the accidental hashchange that was the result of the browser's default handling of hash fragments.
2011-09-19 11:32:13 -07:00
Hans-Peter Buniat
df68b0188c
second attempt to fix #2416
2011-09-19 07:12:36 +02:00
Todd Parker
2d3cbbe804
Replaced theme.css with the new tokenized version that will support a future ThemeRoller tool. Each editable color or values in the theme has a comment "token" that will be replaced with the user-generated values.
2011-09-18 22:28:01 -04:00
John Bender
5155e37546
Merge pull request #2472 from dannyc/master
...
Two typos in docs. Missing closing brackets for radio and checkbox in options
2011-09-18 14:38:06 -07:00
Danny
8f0dc05f25
Typo: Fixed missing closing bracket for checkbox selector in options section of docs
2011-09-18 19:36:14 +03:00
Danny
76ef937e7b
Typo: Fixed missing closing bracket for radio selector in options section of docs
2011-09-18 19:33:27 +03:00
gseguin
e0b948e216
Fix for issue #2463
...
ui-collapsible-contain was renamed to ui-collapsible
2011-09-18 09:12:28 -07:00
gseguin
f8d30ef04e
Revert "Fix for issue #2463 "
...
This reverts commit a5bfcacbae .
2011-09-18 09:11:29 -07:00
Hans-Peter Buniat
afe6630425
try/catch the regexp, fixes 2416
2011-09-18 17:53:03 +02:00
gseguin
a5bfcacbae
Fix for issue #2463
...
Override margin for collapsible children of .content-primary and .content-secondary
Set min-height for content-secondary
2011-09-18 08:46:49 -07:00
MauriceG
fd4640081f
Fix for issue #2192 labels for form inputs have different vertical alignments
2011-09-18 16:31:55 +03:00
MauriceG
10bdd3d845
Fix for issue #2192 labels for form inputs have different vertical alignments
2011-09-18 16:24:08 +03: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
6dbdbfe4bc
Revert "Changed behavior of .jqmData() only when called with no argument. It now returns undefined as per discussion on #jquerymobile-dev"
...
This reverts commit 43c5037bd8 .
2011-09-16 09:12:43 -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
gseguin
43c5037bd8
Changed behavior of .jqmData() only when called with no argument. It now returns undefined as per discussion on #jquerymobile-dev
2011-09-16 09:10:08 -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
ec8e92453e
Removed buttonMarkup around +/- icon
2011-09-15 16:27: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
scottjehl
2369e2fa32
improved qualifications so that iOS5 gets the old-style fixed headers and footers when touchOverflow is disabled (which is the default).
2011-09-09 12:27:59 -04:00
John Bender
fab4f366a4
test for issue 2410, to verify that the button value is updated on refresh with new options
2011-09-09 09:14:39 -07:00
John Bender
729757b465
create selectOptions method so the values stay current across dom changes Fixes #2410
2011-09-09 09:00:46 -07:00
John Resig
0b83cf8d60
Tweak some more stylesheet formatting.
2011-09-08 21:35:28 -04:00
John Resig
dc8f8e7103
Fix whitespace in headers for the build script.
2011-09-08 21:14:03 -04:00
John Resig
f8e056bb29
Version 1.0b3 released.
2011-09-08 17:05:10 -04:00
Kin Blas
bdbb1bcc7e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-08 13:48:01 -07:00
Kin Blas
675657f877
Added an index page for the dynamic-samples directory and linked to it from the age-dynamic.html page.
2011-09-08 13:46:18 -07:00
Kin Blas
92699e0011
Merge branch 'master' into data-driven-with-fallback
2011-09-08 13:38:06 -07:00
Kin Blas
b3ce277152
Moved scottjehl's modified sample to a new file (sample-reuse-page-external.html) and restored the original code in sample-reuse-page.html.
2011-09-08 13:35:42 -07:00
toddparker
7942e3333d
Merge remote branch 'origin/master'
2011-09-08 16:01:00 -04:00
toddparker
7d2b6f839b
Updated docs for beta 3
2011-09-08 16:00:54 -04:00
scottjehl
6e0912f3b5
progress towards making this demo work with urls that represent server resources
2011-09-08 15:58:53 -04:00
Kin Blas
f894d4704b
Adding links to page-dynamic.html to all menus.
2011-09-08 12:34:48 -07:00
Kin Blas
95f1d5c6df
Fixed the broken sample link.
2011-09-08 12:03:43 -07:00
Kin Blas
4a5b804df9
Added more content.
2011-09-08 12:00:57 -07:00
Kin Blas
889d4b5acf
Corrected a grammatical error in one of the sample comments.
2011-09-08 11:30:02 -07:00
Kin Blas
711a552bfb
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-08 11:27:26 -07:00
Kin Blas
64537fa8c0
Removed some debug code from sample-reuse-page.html.
...
Checking in the start of a doc that walks folks through how to use the pagebeforechange event to short-circuit default changePage() behavior.
2011-09-08 11:26:22 -07:00
gseguin
6f5a7d1266
Fix for issue #2404
...
Collapsible are collapsed by default
2011-09-08 13:34:58 -04:00
gseguin
3ba911a6f8
jshint was complaining about .this
2011-09-08 13:34:58 -04:00
scottjehl
82a9a5bb3f
documented the new touchOverflowEnabled configuration property.
2011-09-08 13:33:26 -04:00
scottjehl
f49e69ef84
disabled iOS5 improvements by default. Can be enabled by binding to mobileinit and setting $.mobile.touchOverflowEnabled = true;
2011-09-08 13:26:33 -04:00
scottjehl
b645781f4d
implemented native overflow scrolling based on support for -[prefix]-overflow-scrolling: touch. True fixed headers and footers come supported as well.
2011-09-08 12:38:50 -04:00
scottjehl
bb4e1ca275
removed image dimensions in demo page
2011-09-08 12:38:50 -04:00
scottjehl
bc036b91b0
Clock tap is busted, so this logic is here but commented-out
2011-09-08 12:38:50 -04:00
scottjehl
fda71670b4
reset scrollTop to 0, not defaultHomeScroll
2011-09-08 12:38:50 -04:00
scottjehl
6333be5ddf
changed the docs bg image so it doesn't act fixed in iOS5
2011-09-08 12:38:50 -04:00
scottjehl
1a524756f3
added a pre-transition class to set pages to display: block early and allow for their scrollTop and focus to be set before they are shown.
2011-09-08 12:38:50 -04:00
scottjehl
440be55f2b
changed the name of the overflow support test and class to touchOverflow / touch-overflow
2011-09-08 12:38:50 -04:00
scottjehl
c8e676d591
applied conditional overflow scrolling to page div
2011-09-08 12:38:50 -04:00
scottjehl
dae560d67f
added support test & html class for overflow-scrolling-touch
2011-09-08 12:38:49 -04:00
scottjehl
2f63fdf3ec
Merge remote branch 'origin/master'
2011-09-08 12:32:27 -04:00
scottjehl
bf02fc880d
increased timeout that waits for a potential hashchange event to fire as a result of pop.
2011-09-08 12:31:59 -04:00
Kin Blas
fcbd4c3030
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-09-08 09:24:16 -07:00
Kin Blas
78041bc7c9
Added path.isFirstPageUrl() which is now called from loadPage() when trying to determine if the URL being loaded refers to a page that is already in the DOM. This will prevent us from duplicating the first-page in the main application document.
...
Also checking in the first example of how to use the pagebeforechange notification to allow for dynamically updating and re-using a page that is already in the DOM.
2011-09-08 09:21:31 -07:00
scottjehl
db3dbc04d2
Merge remote branch 'origin/master'
2011-09-08 11:59:43 -04:00
scottjehl
7be8311d4e
added location.search to the original page data-url
2011-09-08 11:58:55 -04:00
toddparker
557da74be0
Fixed typo in button state active default docs. Closes #2403 . Thanks jasonrsavino!
2011-09-08 11:30:42 -04:00
toddparker
2dc25539b6
Merge remote branch 'origin/master'
2011-09-08 10:59:06 -04:00
toddparker
fb1c8bee81
Added a non-adax form submit example. Improved the styling of the forms and confirmation pages.
2011-09-08 10:58:23 -04:00
Kin Blas
04623c21cf
Merge branch 'master' into changepage-prevent
2011-09-07 18:07:21 -07:00
Kin Blas
6aa8c8f3b0
- Added "fromPage" option to changePage(). This used to be in there before the navigation re-work, I just added it back in.
...
- Added "dataUrl" option to changePage(). This allows a caller to specify a page element to change to, but specify an alternate URL for location display purposes. This is useful for dynamic applications that re-use and over-write existing page content to avoid overwhelming the DOM.
- Renamed the "beforechangepage" and "changepage" events to "pagebeforechange" and "pagechange" respectively. This was done to match the page widget naming of its notifications. Left the triggers for the old events in place but with DEPRECATED comments.
- Renamed the properties of the data object passed to the page events.
2011-09-07 18:03:38 -07:00
scottjehl
d0fe757a28
Merge remote branch 'origin/master'
2011-09-07 10:10:32 -04:00
dtao
fa4d9c16d7
fixed typo: 'throttledResize' => 'throttledresize'
2011-09-07 10:09:00 -04:00
Kin Blas
abb812cc01
Fixes for issue 1464 - No way to stop a link from being followed with some custom event (tap, taphold)
...
jquery.mobile.vmouse.js:
- Modified triggerVirtualEvent() so that it returns the virtual event instead of the isDefaultPrevented() result of the virtual event.
- Updated all references to triggerVirtualEvent() that relied on the boolean return value to instead check the isDefaultPrevented() call on the event now returned.
- Updated mouseEventCallback() to propagate the iDefaultPrevented(), isPropagationStopped(), and stopImmediatePropagation() values from the virtual event on to the original mouse event.
jquery.mobile.event.js
- Modified the "taphold" trigger code to create a new $.Event() instead of passing the stale vmousedown event.
- Added clearTapTimer() which is called from a new vmouseup binding, to prevent the timer from firing between the tie the finger/mouse goes up and the click event is dispatched.
- Added some propagation tests for the "tap" event. Tests for "taphold" will have to wait until we fix the problem where multiple taphold timers are fired off when an element and one of its ancestors is bound to taphold.
2011-09-07 10:09:00 -04:00
John Bender
ad7e5bc8d1
added comment for the touches event proto addition
2011-09-07 10:09:00 -04:00
John Bender
3dfcf5fd77
fixed event tests to trigger on a dom element
2011-09-07 10:09:00 -04:00
Kin Blas
5333ab7bf7
I noticed that the code in the mouseup for the toggle switch was using a CSS3 transition, but calling the animationComplete() function which waits for an animationend event which will never come. This means we bind a new animationComplete() handler every time the toggle switch is clicked.
...
I removed the binding for the handler completely since it doesn't hurt to just leave the transition in place. I also removed the code that was setting the position of the slider since it really should only be set within the mouseup if the user did not change the switch setting (toggle).
2011-09-07 10:09:00 -04:00
Kin Blas
2f160e1402
Fix for issue 2346 - Flip toggle switches don't animate when tapped.
...
- Changed the target selector for ui-slider-handle-snapping from:
div.ui-slider-handle-snapping
to:
a.ui-slider-handle-snapping
to match the actual markup being generated.
2011-09-07 10:09:00 -04:00
Kin Blas
81c3957129
Fix for issue 1925 - Single tap triggers two actions, especially in android B1
...
- Trigger the list item and keyboard return/space key up to the "click" event instead of "vclick". This delays the dismissal of the custom select menu until the click event, thereby avoiding the case where the menu disappears before the browser dispatches it's synthesized mouse events (in the touch case) with a target of whatever element was underneath the menu.
2011-09-07 10:09:00 -04:00
scottjehl
28bb987729
added a unit test for last-scroll remembering.
2011-09-07 09:16:02 -04:00
scottjehl
d68d5064bc
finished last-scroll remembering implementation across pages in the history stack (regardless of whether they've been removed from the DOM since last appearance).
2011-09-07 08:15:00 -04:00
Ghislain Seguin
baded0d492
Merge pull request #2393 from dtao/patch-1
...
Fix for issue #2390 : fixed typo: 'throttledResize' => 'throttledresize'
2011-09-06 22:33:37 -07:00
Kin Blas
701b381cc4
Couple of modifications to changePage():
...
- Moved the setting of isPageTransitioning *AFTER* the beforechangepage notification.
- Modified the trigger("beforechangepage") call to pass the args to changePage() as an object since trigger only expects one data arg.
2011-09-06 16:56:20 -07:00
dtao
a4b9079cd7
fixed typo: 'throttledResize' => 'throttledresize'
2011-09-06 16:19:06 -07:00
scottjehl
0d98b8fad6
changed setting of lastScroll
2011-09-06 14:29:19 -04:00
scottjehl
97539ed3bd
focus on title or page div
2011-09-06 12:58:14 -04:00
scottjehl
ebafc02cfe
add tabindex to page element
2011-09-06 12:58:14 -04:00
scottjehl
003505a4b9
changed minscroll to 250, better organization of lastscroll
2011-09-06 12:56:46 -04:00
scottjehl
ac67e92cbb
This change sets the "lastScroll" property to each urlHistory item object, allowing us to remember previous scroll distances when returning to a page that has since been removed from the DOM. Before this change, this number was stored in data on the page element, so it is lost when the page is removed after pagehide.
...
Also, this change removes a reference in memory that we were keeping to the $activeClickedLink on each page. We stored this in attempt to refocus a link after returning to a page. Unfortunately, it doesn't seem that this data can be retained after pages are removed from the DOM, outside of somehow remembering a unique selector string to reach that element again (which could be achieved by adding some overhead, ala http://stackoverflow.com/questions/2068272/getting-a-jquery-selector-for-an-element )
2011-09-06 12:56:46 -04:00
scottjehl
522b48ee84
started on the change to allow default prevention on beforechangepage
2011-09-05 13:05:57 -04:00
Kin Blas
7cce0c5573
Fixes for issue 1464 - No way to stop a link from being followed with some custom event (tap, taphold)
...
jquery.mobile.vmouse.js:
- Modified triggerVirtualEvent() so that it returns the virtual event instead of the isDefaultPrevented() result of the virtual event.
- Updated all references to triggerVirtualEvent() that relied on the boolean return value to instead check the isDefaultPrevented() call on the event now returned.
- Updated mouseEventCallback() to propagate the iDefaultPrevented(), isPropagationStopped(), and stopImmediatePropagation() values from the virtual event on to the original mouse event.
jquery.mobile.event.js
- Modified the "taphold" trigger code to create a new $.Event() instead of passing the stale vmousedown event.
- Added clearTapTimer() which is called from a new vmouseup binding, to prevent the timer from firing between the tie the finger/mouse goes up and the click event is dispatched.
- Added some propagation tests for the "tap" event. Tests for "taphold" will have to wait until we fix the problem where multiple taphold timers are fired off when an element and one of its ancestors is bound to taphold.
2011-09-02 16:56:15 -07:00
John Bender
0b41fe808c
added comment for the touches event proto addition
2011-09-02 13:56:37 -07:00
John Bender
c3dfcf6bdf
fixed event tests to trigger on a dom element
2011-09-02 13:40:12 -07:00
Kin Blas
7bf048a214
I noticed that the code in the mouseup for the toggle switch was using a CSS3 transition, but calling the animationComplete() function which waits for an animationend event which will never come. This means we bind a new animationComplete() handler every time the toggle switch is clicked.
...
I removed the binding for the handler completely since it doesn't hurt to just leave the transition in place. I also removed the code that was setting the position of the slider since it really should only be set within the mouseup if the user did not change the switch setting (toggle).
2011-09-01 15:42:30 -07:00
Kin Blas
a27f7d355f
Fix for issue 2346 - Flip toggle switches don't animate when tapped.
...
- Changed the target selector for ui-slider-handle-snapping from:
div.ui-slider-handle-snapping
to:
a.ui-slider-handle-snapping
to match the actual markup being generated.
2011-09-01 15:28:20 -07:00
Kin Blas
6759afff66
Fix for issue 1925 - Single tap triggers two actions, especially in android B1
...
- Trigger the list item and keyboard return/space key up to the "click" event instead of "vclick". This delays the dismissal of the custom select menu until the click event, thereby avoiding the case where the menu disappears before the browser dispatches it's synthesized mouse events (in the touch case) with a target of whatever element was underneath the menu.
2011-09-01 14:17:10 -07:00
Todd Parker
df8d6fa8d5
Merge pull request #2375 from globalmatt/master
...
Docs: Cleaned up "Prefetching & caching pages" page. Thanks globalmatt
2011-09-01 04:15:07 -07:00
Matt Doyle
5832890185
Docs: Cleaned up "Prefetching & caching pages" page
...
Renamed page for consistency and edited/clarified page content
2011-09-01 16:52:48 +10:00
gseguin
001e588c92
Fix for issue #2017 . Clear active link on vclick so there can be only one active link at a time.
2011-08-31 21:46:39 -07:00
gseguin
e28ad6d95d
re-added setting of $.mobile.activeBtnClass on selected option but only for single select lists
2011-08-31 13:33:52 -07:00
gseguin
d6da6fed64
piggy back on checkbox/radio to define background-color for ui-icon-checkbox-on
2011-08-31 13:32:44 -07:00
gseguin
4cb52c4908
set aria-selected on li element when li is selected
2011-08-31 11:16:11 -07:00
gseguin
830663d88b
Changed look and feel of custom select options to match the checkbox/radio
2011-08-31 10:43:34 -07:00
gseguin
3dc4b9f9fa
Removed activeBtnClass from selected option
2011-08-31 10:43:23 -07:00
gseguin
14c98e8ef7
Another version of https://github.com/jquery/jquery-mobile/pull/2363 by @jgable
2011-08-31 09:56:15 -07:00
John Bender
f679d30620
added ipv6 support to urlparse regex Fixes #2362
2011-08-30 15:59:46 -07:00
John Bender
23ee457309
whitespace in navigation helper tests
2011-08-30 15:52:31 -07:00
John Bender
41ef18aa56
Merge pull request #2357 from zachleat/master
...
Extra directory on the JS source files in ant build script
2011-08-29 22:32:40 -07:00
Todd Parker
dc230cbb63
Merge pull request #2360 from lagartoflojo/patch-1
...
Small typo fix
2011-08-29 17:34:02 -07:00
lagartoflojo
6528c09ab3
Small typo fix
2011-08-30 02:31:31 -03:00
Kin Blas
191b5e04a3
Fix for issue 2345 - Flip toggle switches *ALWAYS* toggle
...
- We now track whether or not the user has modified the value of the switch control. If so, we don't toggle it's value on mouseup.
2011-08-29 12:39:25 -07:00
John Bender
fd286444f4
replaceState *and* pushState are now required for $.support.pushState to be true
2011-08-29 10:18:40 -07:00
John Bender
07edada0dd
added todo to centralize page dom removal and ref counting Fixes #2329
2011-08-29 10:09:22 -07:00
John Bender
bddc8c8ed2
small tweak to directedHashChange to make sure the right value is passed in for isBack
2011-08-29 09:12:39 -07:00
zachleat
65c26fd569
Build script js-sources had extra js directory in paths.
2011-08-29 11:12:13 -05:00
scottjehl
d63350ca6c
set initial page div's data-url to location.pathname unless it has an ID on it. This fixes an issue where going back to the initial page will end up generating a new homepage rather than transitioning to the one already in the dom.
2011-08-28 00:06:27 -04:00
scottjehl
6de76168af
Clarified the documentation around the purpose of the pagebeforecreate event and removed the pagebeforecreate return value check, as returning beforecreate false is no longer relevant now that all plugins auto-init externally, rather than inline in the page plugin.
2011-08-27 11:26:16 -04:00
scottjehl
10e2d5a61a
previous commit should not have switched the order of trigger and add classes. Reverted, with cleanup still in place.
2011-08-27 11:07:21 -04:00
scottjehl
ce5ce102dc
A little simplification in the page plugin
2011-08-27 10:58:46 -04:00
John Bender
a3487e620d
simplified the default hash handling prevention back to somthing akin to @scottjehl's original implementation
2011-08-27 02:47:54 -07:00
John Bender
76d5c49b78
minor refactor and check for defined attr
2011-08-27 01:01:54 -07:00
John Bender
6b010492b2
minor refactors in nav and pushstate for clarity
2011-08-27 01:01:54 -07:00
John Bender
82cce1fa60
fix the chrome bug and reduce the number of crazy hash juggles we do
2011-08-27 01:01:54 -07:00
John Bender
328d58b2e9
fixed role retention issue from clearing the dom cache
2011-08-27 01:01:54 -07:00
John Bender
c3bac78880
moved push state dialog key test down into its own file to have the key at the root
2011-08-27 01:01:54 -07:00
John Bender
1811b31715
added sub page hash key tests
2011-08-27 01:01:54 -07:00
John Bender
7ed31bedb5
added test to make sure the dialog key is always in the hash
2011-08-27 01:01:54 -07:00
John Bender
3a13a6ec75
renamed replacestate key handling method
2011-08-27 01:01:53 -07:00
scottjehl
50aca4e613
Links to the transitions page need to use data-ajax="false" because it uses multipage.
2011-08-26 20:07:38 -04:00
John Bender
b569c1cc8b
fix for dialog and subpage key url issues with replace state
2011-08-26 14:54:27 -07:00
toddparker
66fb6bba2f
Moved the transition sampler page to a multi-page format to avoid the loader every time you want to try a transition. Leaving the old page here for now because we may link to it elsewhere.
2011-08-26 17:00:44 -04:00
toddparker
01f61cfd54
Removed prefetch. Can't use that on a dialog.
2011-08-26 16:58:16 -04:00
toddparker
cd5cb16fe1
Added prefetch attr and fixed theme tags in markup for dialogs
2011-08-26 16:53:26 -04:00
John Bender
0346cbe439
added note on managing element id's in pages loaded via ajax
2011-08-26 09:15:47 -07:00
John Bender
9eef5cec53
added documentation covering the replaceState plugin
2011-08-26 09:15:23 -07:00
John Bender
49cf3af91a
Merge branch 'replacestate-external'
2011-08-25 13:05:54 -07:00
John Bender
df9e23390f
extra comments for clarity
2011-08-25 11:51:01 -07:00
John Bender
8a994d3dfa
add config option for pushstate
2011-08-25 11:42:32 -07:00
John Bender
44eaf7707b
fix broken hash on dialog after initial page load
2011-08-25 10:49:51 -07:00
John Bender
af0e1f5d7e
whitepasce in nav
2011-08-25 10:49:51 -07:00
Ghislain Seguin
884bfdee3b
Merge pull request #2312 from MichelHartmann/patch-1
...
Fixed closing the dialog, when the page is removed.
2011-08-25 08:38:44 -07:00
John Bender
7d68059dd6
removed initial disable for spurious popstate and moved to doc ready init for late inclusion in the document instead of monkey patching
2011-08-24 15:59:06 -07:00
gseguin
00e56c1560
Added test for ui-li-has presence
...
related to issue #779
2011-08-24 13:55:15 -07:00
gseguin
2cc8c7ff34
Fix for issue #779
...
Addressing @jakeboone02's comments at dd9ae4898b (commitcomment-531858)
2011-08-24 13:54:03 -07:00
gseguin
e98215a3e1
Whitespace change
2011-08-24 10:48:13 -07:00
Michael Platov
b9557705b3
Fix for issue 509 textarea autogrow
2011-08-24 14:28:12 +08:00
John Bender
657f6b8c3f
make sure the popstate replacestate call uses the full href
2011-08-23 12:07:52 -07:00
John Bender
2c7789b6a3
clean scoping add, comment
2011-08-22 14:58:42 -07:00
John Bender
49eeccdde3
rescope self
2011-08-22 14:31:14 -07:00
Ghislain Seguin
8ae331363d
Merge pull request #2324 from jgable/fix_docs_collapsible_typo
...
Fix for small typo in collapsible-set docs page
2011-08-22 13:15:09 -07:00
jacob4u2
cc5ff24500
Fix for small typo in collapsible-set docs page
2011-08-22 14:30:11 -05:00
Richard D. Worth
a5a608c2e5
Fixed a typo. Thanks gregmelson http://bugs.jqueryui.com/ticket/7660
2011-08-22 07:49:33 -04:00
John Bender
e3fb2e285b
handle query strings for initial replaceState
2011-08-20 07:29:21 -07:00
John Bender
547afbf184
manually hoist variables
2011-08-20 07:21:49 -07:00
Michel Hartmann
9c088cd5ba
Fixed closing the dialog, when the page is removed.
2011-08-20 06:31:20 +03:00
John Bender
1dd791175a
proposed solution to the navigate, refresh, back button pushstate bug. the determination of the hash to be stored in the replaced state is done in a consistent fashion where, if there is no hash, its defaulted to the original load path by puting the logic in a central method. @scottjehl give it a try and let me know if this works for you
2011-08-19 18:54:29 -07:00
John Bender
12391923fc
added comment to make sure folks aren't confused as to why one of the test pages is just a redirect
2011-08-19 18:41:24 -07:00
John Bender
66aec28d8a
renamed redirect test pages for clarity in test suite runner
2011-08-19 14:08:37 -07:00
John Bender
a671c559f4
nav tests passing for both push state and hash
2011-08-19 14:02:35 -07:00
Todd Parker
6d7350ba86
Merge pull request #2309 from maxrabin/patch-1
...
Edited docs/about/features.html via GitHub. Thanks maxrabin!
2011-08-19 09:52:10 -07:00
maxrabin
b887fb9d59
Edited docs/about/features.html via GitHub
2011-08-19 23:33:18 +03:00
John Bender
d3a1acdca8
small fix to capture failures properly in test suite runner
2011-08-18 23:33:16 -07:00
scottjehl
b438472fec
if no hash is present, run a replacestate. All nav tests still passing.
2011-08-18 22:41:13 -04:00
scottjehl
bf593857f6
degraded type should have been "text" instead of true. Addresses a comment in issue #2123
2011-08-18 22:01:58 -04:00
Kin Blas
ab1a52b51d
With the exception of "ms", which we don't support anyways, all vendor prefixed CSS properties are converted into style object properties with a name that begins with an upper case. Note, that webkit duplicates these properties on the style object, such that the property can be referenced with a leading caps, or leading lower-case.
...
This change was necessary at least for the transitions branch because the lookup for the 'transform' property was failing on FireFox.
2011-08-18 16:40:08 -07:00
John Bender
7b122cacfc
fixed tests to work with both pushstate and hash
2011-08-18 16:28:28 -07:00
John Bender
2c3d9bc2f1
removed extra replace state fire, need to check with @scottjehl
2011-08-18 16:25:21 -07:00
John Bender
ef52c8d312
updated core to use the url assertions for both hash and replace state
2011-08-18 14:13:39 -07:00
gseguin
e39a320214
Added unit tests for issue #1405
2011-08-17 18:15:57 -07:00
gseguin
9f3836e7b1
Fix for issue #1405 : Moved assignment of $activeClickedLink to the vclick handler in charge of adding the active state
2011-08-17 17:32:55 -07:00
gseguin
d55b225ae9
Merge remote-tracking branch 'upstream/master'
2011-08-17 17:32:32 -07:00
John Bender
fb5d9df56f
simplified the pushstate some more
2011-08-17 16:32:59 -07:00
John Bender
b197e760fd
simplified the hash handling with help from @jblas
2011-08-17 16:22:09 -07:00
gseguin
6fb51b1d3d
replaced ui-btn-active by $.mobile.activeBtnClass
2011-08-17 16:12:42 -07:00
John Bender
a8aa78d331
remove json_encode for those who aren't able to upgrade their version of php for god knows what reason ;)
2011-08-17 15:40:18 -07:00
John Bender
82dc08fee9
fixed listview tests for both pushstate and hash
2011-08-17 15:19:52 -07:00
gseguin
3737d170a0
Merge remote-tracking branch 'upstream/master'
2011-08-17 13:29:07 -07:00
John Bender
866b1b0db4
Merge pull request #2289 from SamuelKC/selectDomCacheFix2
...
check the domCache option before rebinding the page remove on select menu
2011-08-17 12:17:32 -07:00
gseguin
63c94d954d
Added use of class ui-corner-none for France and United States in Icon list so the icons don't get rounded corners
2011-08-17 12:12:05 -07:00
gseguin
14bb9921be
Reduced number of tests for "Top and bottom corners rounded in inset list" but added more meaningful tests
2011-08-17 12:10:18 -07:00
gseguin
a620d97868
Re-uses the boolean create at creation time to let the refresh functions know that they've been called by create
2011-08-17 12:09:07 -07:00
gseguin
bcd0a05982
Added .ui-corner-none
2011-08-17 12:07:05 -07:00
John Bender
b7d5df786f
whitespace and comment merge conflict resolved
2011-08-17 11:09:05 -07:00
John Bender
81737dba6a
small whitespace fix
2011-08-17 10:51:18 -07:00
John Bender
74300195b3
moved pushstate library disable and load into testhelper
2011-08-17 10:49:38 -07:00
John Bender
886cdcf927
setup pushstate tests
2011-08-17 10:25:51 -07:00
John Bender
5775dd19a4
whitespace in nav core tests
2011-08-17 10:05:24 -07:00
John Bender
eba4e7eeb4
switched path helper
2011-08-16 17:06:55 -07:00
John Bender
b41b0573d2
leverage the path helpers to get this right
2011-08-16 13:25:04 -07:00
John Bender
1a4dd41293
alterted base path tests as an example of how to preserve content testing while accomodating both possible url formats
2011-08-16 12:56:10 -07:00
John Bender
72ce65767e
support embedded pages as a hash since the concatenated form represents a file
2011-08-16 12:55:03 -07:00
Samuel Padou
e8f78dacb1
check the domCache option before rebinding the page remove when closing a full page select menu
2011-08-16 13:57:07 +02:00
Samuel Padou
9da8114fca
add test for domCache option handling when closing a full page select menu
2011-08-16 13:55:02 +02:00
John Bender
43b1b776d9
minor refactor for comprehension
2011-08-15 17:01:37 -07:00
John Bender
3d14498fe1
moved select caching tests out to a seperate test file to prevent issues in the core test suite
2011-08-15 13:00:01 -07:00
John Bender
907cf655b3
fixed navigation base tests to handle the relative internal page issue by using the click hack, per @jblas
2011-08-15 12:46:09 -07:00
John Bender
b0c20e9d2a
whitespace
2011-08-15 12:45:31 -07:00
John Bender
5b4a29e643
added **/*-tests.html glob convention to the test suite runner to make it easier to include seperate files in the suite
2011-08-15 12:09:56 -07:00
John Bender
5c40e69c3a
moved the relative path changing tests to the bottom of the core file, this is not a solution only a temporary fix. moving the relative path changing tests to another test file will most likely be the next move
2011-08-15 11:45:47 -07:00
scottjehl
c864dac3b1
added replacestate to the tests, as that's the method we're using
2011-08-14 13:44:40 -04:00
scottjehl
0512916e72
centralized the hashchange fired flag
2011-08-14 10:20:14 -04:00
scottjehl
854ce44179
timeout number is arbitrary. Still looking for a way around it though.
2011-08-14 10:03:16 -04:00
scottjehl
2d29880f4c
whitespace stuff
2011-08-14 09:57:12 -04:00
scottjehl
3ebe7b4218
just use location.pathname. same thing, in hindsight.
2011-08-14 09:30:33 -04:00
John Bender
a197e17500
cleaned up test suite index html, added reporting for failed and successfull tests at the suite level
2011-08-13 00:50:16 -07:00
John Bender
c5c89344ad
prevent qunit from running the suite until all the tests are defined
2011-08-12 14:41:45 -07:00
John Bender
2b3153365f
fixed build files to include custom select
2011-08-12 10:39:36 -07:00
John Bender
cfe12241a2
fixedcustom select extension to respect the prototype alterations Fixes #2272
2011-08-12 09:56:54 -07:00
John Bender
781c2430f5
minor whitespace in test runner
2011-08-12 09:56:54 -07:00
scottjehl
6d2f9737db
conditionally trigger the hashchange after a popstate, only if it doesn't trigger its own.
2011-08-12 12:53:07 -04:00
Ghislain Seguin
89ef248339
Merge pull request #2269 from jgable/fix_lists-split-purchase
...
Fix for Docs Split Button List dialog has weird line artifact from .type-interior class
2011-08-11 23:54:27 -07:00
John Bender
1fd9af8e36
minor refactor to test suite runner, and js moved to head
2011-08-11 22:55:27 -07:00
John Bender
fb0f6baf24
refactor of test suite runner, added passed/failed counts to suite results
2011-08-11 22:34:09 -07:00
Jacob Gable
0dc54d59a2
Fix for Split Button List dialog having no background and weird line from background image
2011-08-11 20:03:36 -05:00
gseguin
5917b379e1
Merge remote-tracking branch 'upstream/master'
2011-08-11 17:01:15 -07:00
gseguin
dd9ae4898b
Fix for issue #779
...
Added a ui-li-has-count class for listview items that contain a count bubble. Changed default padding-right to 25px adjusting it to 75px when count bubble is present.
2011-08-11 16:59:51 -07:00
gseguin
eb1ff373cb
Added a few tests for corners on inset lists
2011-08-11 16:23:15 -07:00
gseguin
ef431a870c
remove corners on all li elements of the list when refreshing corners
2011-08-11 16:22:11 -07:00
John Bender
5d081afa48
removed leftover files from old decoupled select menu iterations
2011-08-11 15:34:44 -07:00
Ghislain Seguin
e0ae323bd8
Merge pull request #2262 from gseguin/issue-1450
...
Fix for issue #1450
2011-08-11 12:11:43 -07:00
gseguin
36e0fb53c7
Made _refreshCorners private
2011-08-11 12:08:27 -07:00
gseguin
be3bd42f8a
Use $.testHelper.sequence instead of nested setTimeouts
2011-08-10 23:34:31 -07:00
gseguin
418bb8786a
Fix for issue #1450 : added refreshCorners method to listview widget
2011-08-10 23:15:38 -07:00
gseguin
97b7c20e78
Merge remote-tracking branch 'upstream/master'
2011-08-10 23:08:56 -07:00
gseguin
fe6f406a10
Moved away from setTimeout in favor of $.testHelper.pageSequence
2011-08-10 18:28:24 -07:00
Andri Möll
70bd1ba371
Fix nested waiting-for-dom for initializePage.
...
Using dom-ready within dom-ready meant that initializePage went to the end of
the queue. That brought problems when other dom-ready code expected jQM to be
set up, capable of changing pages and so on. But because $.mobile.pageContainer
is also set in initializePage, changePage and others didn't work.
2011-08-10 18:01:36 -07:00
John Bender
cba80d9fff
Merge pull request #1393 from ray58750034/31d4
...
Update functional tests: bind click event to objects
2011-08-10 17:45:54 -07:00
John Bender
f352f05cc9
core style guide
2011-08-10 17:10:31 -07:00
John Bender
c41c65a1cf
quote consistency
2011-08-10 17:07:34 -07:00
John Bender
6ebaf991a8
moved dialog test to pageSequence helper, and small cleanup
2011-08-10 17:06:56 -07:00
John Bender
cdae2c2fdf
Merge branch 'master' of https://github.com/BradBroulik/jquery-mobile into BradBroulik-master
2011-08-10 17:03:10 -07:00
John Bender
73953915c0
merge fix for select
2011-08-10 14:21:49 -07:00
John Bender
55b5a60b1c
linting issues
2011-08-10 13:56:52 -07:00
John Bender
aad1146a65
added tests to verify that custom menu items are highlighted when they are selected
2011-08-10 13:54:05 -07:00
John Bender
6cdec7d14d
minor whitespace
2011-08-10 13:35:35 -07:00
John Bender
28120ea929
fixed selected items bug
2011-08-10 13:35:05 -07:00
gseguin
909ae515cc
changed working version to beta 3 pre
2011-08-10 09:59:47 -07:00
John Bender
b38efe1a63
whitespace
2011-08-10 00:01:55 -07:00
John Bender
09339ac534
grouped prive and public methods
2011-08-09 23:59:07 -07:00
John Bender
345fbbdacc
more whitespace
2011-08-09 19:14:27 -07:00
John Bender
0d4bd449ca
more whitespace
2011-08-09 19:12:43 -07:00
John Bender
3b7ab6dac7
whitespace
2011-08-09 19:11:46 -07:00
John Bender
629ef9a024
simplified the extension calls in the custom select
2011-08-09 19:08:34 -07:00
John Bender
e12f5122bd
use cached value in button text method
2011-08-09 15:58:13 -07:00
John Bender
7a9b379dea
test to make sure the label has the ui-select class
2011-08-09 15:55:40 -07:00
John Bender
62e1631353
fix label class application bug
2011-08-09 15:50:42 -07:00
John Bender
88edbc666f
cleaning up this and self references
2011-08-09 15:28:54 -07:00
John Bender
12771afade
_create cleanup
2011-08-09 15:05:15 -07:00
John Bender
2839cfb469
small cleanup in naming and grouping
2011-08-09 14:52:31 -07:00
John Bender
0f072416cb
moved shared functionality into native and custom selects as necessary
2011-08-09 14:41:51 -07:00
John Bender
67e76a072b
removed options from shared, move theme determination to method
2011-08-09 13:47:40 -07:00
Ghislain Seguin
8ec38bae1c
Merge pull request #2249 from rwldrn/jquery.mobile.init.js
...
Core Style Conformance: jquery.mobile.init.js
2011-08-09 08:42:51 -07:00
Rick Waldron
45ab6a9ddc
Core Style Conformance: jquery.mobile.init.js
2011-08-09 11:16:41 -04:00
John Bender
fd8fb03205
segregate native and select
2011-08-08 16:47:53 -07:00
John Bender
974e4d0801
moved to event model for custom overrides, still need to centralize shared file
2011-08-08 16:19:52 -07:00
John Bender
ff8a1ceefa
.call on shared
2011-08-08 13:53:53 -07:00
John Bender
426da8f495
centralizing options
2011-08-08 13:33:24 -07:00
John Bender
76adbc9293
minimize extension in individual widgets
2011-08-08 13:31:50 -07:00
John Bender
5c76de355a
shared components moved to shared init function
2011-08-08 12:52:32 -07:00
John Bender
9eec8df520
moved native shared component into shared, will do the same for custom
2011-08-08 12:07:37 -07:00
John Bender
64a9b595d3
start of seperation of native select
2011-08-08 11:40:26 -07:00
John Bender
bac747498f
small refactor before final split
2011-08-07 21:04:53 -07:00
scottjehl
0253e67fbb
fixed an error in the array reference that was causing support tests to not test properties as they should.
2011-08-07 13:19:20 -04:00
Todd Parker
38368b6010
Merge pull request #2218 from caseyjustus/master
...
Added slider to api docs. Thanks caseyjustus!
2011-08-07 08:43:42 -07:00
scottjehl
8fb9cb836e
Merge remote branch 'origin/replacestate-external' into replacestate-external
2011-08-07 09:45:22 -04:00
BradBroulik
bf4db8dae1
Added unit tests for dialog theme inheritance.
2011-08-05 17:49:47 -05:00
scottjehl
e1fbaf9cce
updated to support deep links to nested lists and dialog parent pages. Still battling a 2x back history issue on those.
2011-08-05 18:49:16 -04:00
scottjehl
e564eb1c5f
first pass at implementing pushstate support from an external file.
2011-08-05 18:49:16 -04:00
John Bender
d293e968f9
moved _buildList into custom
2011-08-05 15:35:13 -07:00
BradBroulik
d5cf4fc29a
Unit tests for dialog theme inheritance
2011-08-05 16:56:42 -05:00
John Bender
7494e398a5
moved open to custom and added a test for native select change removing the button down class
2011-08-05 14:45:08 -07:00
John Bender
3133ccbc3a
moved close to custom, and disable/enable methods common with tests for enable/disable
2011-08-05 12:21:45 -07:00
John Bender
f51f4cf07f
moved focusButton up to common, added test for refocus of clicked button on small dialog close
2011-08-05 12:21:45 -07:00
John Bender
c739597755
core style guide
2011-08-05 09:37:55 -07:00
John Bender
7e09b9af28
ghetto cherry pick of custom dialog fix for chrome redraw issue and height calculation stability
2011-08-05 09:32:40 -07:00
scottjehl
f78970618c
Merge remote branch 'origin/master'
2011-08-05 11:05:32 -04:00
scottjehl
d120404ead
Merge remote branch 'origin/master'
2011-08-05 09:58:30 -04:00
scottjehl
28eebc25de
Brought back the page content div theme inheritance from b1. Thanks to abdulqadir for the suggestion. Fixes #2221
2011-08-05 09:58:25 -04:00
scottjehl
0dbc08adf6
htaccess file has been empty. now removed.
2011-08-04 19:42:59 -04:00
Ghislain Seguin
b23d444c71
Merge pull request #2216 from johnbender/listview-filter-callback
...
Listview filter callback
2011-08-04 16:12:53 -07:00
John Bender
18887c95a0
updated docs to include information about the filter callback
2011-08-04 16:09:42 -07:00
John Bender
d8e1b9b469
core style guidelines
2011-08-04 15:56:55 -07:00
John Bender
3452a805e0
added test to verify that we could alter the filterCallback on the instance of the widget
2011-08-04 15:28:45 -07:00
toddparker
4c3ecdef47
Updated code to match the new style. We might drop this page once the more detailed API info is added to each plugin,
2011-08-04 17:23:42 -04:00
toddparker
570c13cb9c
Style block tweak.
2011-08-04 17:15:44 -04:00
toddparker
2d9e76d8e2
Added an intro blurb and more margin to separate the list headers.
2011-08-04 17:12:59 -04:00
toddparker
c2405448fd
Fixed a few broken links in the docs.
2011-08-04 15:23:51 -04:00
John Bender
8660befda8
removed global from listview
2011-08-03 17:50:48 -07:00
John Bender
6bbf830da8
simple filterCallback in the options to delegate complex search to end users
2011-08-03 17:10:44 -07:00
John Resig
8ad8d8303d
Releasing 1.0b2.
2011-08-03 14:45:53 -07:00
John Bender
2d7706a07b
whitespace issues in tnew buttonMarkup tests
2011-08-03 14:24:46 -07:00
John Bender
bda2358e6c
Merge branch 'fcheslack-footer-control-group-buttons'
2011-08-03 13:39:22 -07:00
John Bender
8c31d5cb19
added control group enhancement tests, still needs other footer button enhancement tests
2011-08-03 13:37:38 -07:00
John Bender
6529dc7f8c
Merge branch 'footer-control-group-buttons' of https://github.com/fcheslack/jquery-mobile into fcheslack-footer-control-group-buttons
2011-08-03 13:19:28 -07:00
toddparker
3db65f9592
Merge remote branch 'origin/master'
2011-08-03 15:20:29 -04:00
toddparker
37db803557
Removed back buttons.
2011-08-03 15:18:57 -04:00
John Bender
3dbb018e82
Merge pull request #2173 from SamuelKC/selecthidefix
...
Fix issue of the select menu not closing on Chrome - Fixes 2198, 2194, 2197
2011-08-03 11:52:17 -07:00
toddparker
a23ab67e53
Another path tweak.
2011-08-03 14:25:52 -04:00
toddparker
35d2366946
Fixed CSS paths. Closes #2201
2011-08-03 14:21:29 -04:00
toddparker
a7abcfef59
Switched to .selector for sample code.
2011-08-03 14:19:07 -04:00
toddparker
35b174fa31
Merge remote branch 'origin/master'
2011-08-03 14:17:40 -04:00
toddparker
bee8ac2226
Improved sample code.
2011-08-03 14:17:29 -04:00
gseguin
cce89cb91d
Merge remote-tracking branch 'upstream/master'
2011-08-03 11:16:20 -07:00
gseguin
6da588c394
Coding standards
2011-08-03 11:15:03 -07:00
toddparker
584e2931b4
Fixed typos
2011-08-03 14:06:57 -04:00
toddparker
e9114f8c34
Merge remote branch 'origin/master'
2011-08-03 14:02:39 -04:00
toddparker
bd36fd6f91
Updated boilerplates to beta 2
2011-08-03 14:02:24 -04:00
toddparker
6ab7e118c6
Beta 2 flag
2011-08-03 14:02:10 -04:00
scottjehl
55b0fe304a
Merge remote branch 'origin/master'
2011-08-03 13:42:24 -04:00
scottjehl
a362a782fa
Changed the collapsible cleanup in our docs JS to use click instead of vclick
2011-08-03 13:41:12 -04:00
Todd Parker
6c08d64ccd
Merge pull request #2199 from rwldrn/jquery.mobile.support.js
...
Core Style Conformance updates; jquery.mobile.support.js. Thanks rwldrn!
2011-08-03 10:27:42 -07:00
Rick Waldron
953f0cdf97
Core Style Conformance updates; jquery.mobile.support.js
2011-08-03 13:19:53 -04:00
scottjehl
5f2462d031
updated to support deep links to nested lists and dialog parent pages. Still battling a 2x back history issue on those.
2011-08-03 12:35:24 -04:00
scottjehl
51199dd14b
first pass at implementing pushstate support from an external file.
2011-08-03 12:35:24 -04:00
scottjehl
a48128f9a3
wrapped in parens for clarity
2011-08-03 12:15:04 -04:00
scottjehl
4c01267306
Moving this call to setDefaultTransition to run at DOM ready, because calling it earlier triggers an error in jQuery core, based on logic in dimensions.js that assumes document.body is defined. I've added a pull request to fix the issue in jQuery core, but for our purposes, this change allows us to work without the fix.
2011-08-03 12:15:04 -04:00
scottjehl
d42db4d4ee
This change moves the ajax navigation opt-out list (which contains, mainly, browsers that have broken history tracking of hash changes) over to the support.js file, and added a multi-tierd Nokia condition that checks a number of UA conditions to try and pinpoint Nokia + Symbian + Webkit + 7.3-or-older. Big thanks to Bryan and Stephanie at Yiibu for their helpful article on Nokia device detection. That said, we would LOVE to find a non-UA based way to handle this detection. Reluctantly, this seems to do what we need at the moment, while assuming hash history will be improved in any post-7.3 release.
...
Also included in this commit is a Nokia-specific condition that re-appends existing stylesheets to force them to render, as all pre-7.3 devices we tested would not render the CSS if it was referenced before the JavaScript (as we'd recommend doing). There may be a non-JS way to work around this problem, but for now, this seems to do the trick.
2011-08-03 12:15:04 -04:00
toddparker
b77bf47d1d
Minor tweaks.
2011-08-03 12:13:04 -04:00
toddparker
5b73f452f2
Fixed a few issues in the content.
2011-08-03 10:31:57 -04:00
toddparker
6b77c01553
Updated supported platforms, intro and features for beta 2 prep.
2011-08-03 10:11:06 -04:00
toddparker
ac30c121c7
Added docs for the scroll thresholds and virtual mouse events.
2011-08-03 10:10:43 -04:00
toddparker
012ce48e6f
Added new scripting page to provide a quick overview of common techniques, updated local nav for all other pages.
2011-08-03 10:10:18 -04:00
John Bender
f6a5608ae2
added select_native test set and a tests to verify that setting the value of the select itself sets button text
2011-08-02 16:11:32 -07:00
John Bender
58631807d4
moved common refresh functionality up
2011-08-02 16:00:37 -07:00
John Bender
edfef386b1
moved refresh to individual widgets, still some duplication to be moved into the common
2011-08-02 14:08:42 -07:00
John Bender
6a46839d5e
added missing assertion to select tests
2011-08-02 13:13:19 -07:00
John Bender
1d00ee316e
forgotten bind on pagehide to fix height calculation issues
2011-08-02 12:38:53 -07:00
Todd Parker
bdbb0f90c2
Merge pull request #2176 from ovargas27/master
...
Checkbox - new API docs format. Thanks ovargas27!
2011-08-02 09:57:04 -07:00
John Bender
be0dbb9b10
fixed some minor whitespace issues
2011-08-02 09:30:28 -07:00
John Bender
3950542884
made sure the dialog test fails many times, added an extra todo for moving the functionality to find the current theme if its not specified to a generic location
2011-08-02 09:30:28 -07:00
John Bender
b8451c5557
moved element creation and propertie declaration into the common object
2011-08-02 09:29:01 -07:00
John Bender
6e343c20cb
fixed double wrap from local variables
2011-08-02 09:26:31 -07:00
John Bender
30c2e6c6a4
moved most of the build functionality to delegate objects
2011-08-02 09:26:31 -07:00
John Bender
0e7ded7709
create -> build, and list build up moved
2011-08-02 09:26:31 -07:00
John Bender
9014e243fb
custome menu select creation begun
2011-08-02 09:26:31 -07:00
John Bender
4aa32698de
move native menu creation to delegate object
2011-08-02 09:26:30 -07:00
John Bender
89e6f59bb3
Revert "removed the custom menu portions of the selectmenu, which will be moved to select.custom.js, which is non-functional in this commit"
...
This reverts commit c318c5b7cf7d51a69438071cbfbcf307a27c7b7d.
2011-08-02 09:26:30 -07:00
scottjehl
db22dfa111
removed the custom menu portions of the selectmenu, which will be moved to select.custom.js, which is non-functional in this commit
2011-08-02 09:21:21 -07:00
Scott Jehl
b7a19b604c
Merge pull request #2184 from rwldrn/jquery.mobile.fixHeaderFooter.js
...
Core Style Conformance updates; jquery.mobile.fixHeaderFooter.js
2011-08-02 07:24:08 -07:00
John Bender
f1d964e9e9
fix for cached page removal breaking dialog sized select menus Fixes #2181
2011-08-01 18:08:28 -07:00
John Bender
f7d5d918ae
fixes for select tests and tests to cover basic functionality for new cached pages and select dialogs
2011-08-01 18:08:28 -07:00
Rick Waldron
627b9189d6
Core Style Conformance updates; jquery.mobile.fixHeaderFooter.js
2011-08-01 18:34:49 -04:00
Todd Parker
d958983e5b
Merge pull request #2179 from defeated/docs-errata
...
fixed typo: swatch E identifying as swatch D. Thanks defeated!
2011-07-31 18:46:20 -07:00
eddie cianci
1410e03601
fixed typo: swatch E identifying as swatch D
2011-07-31 21:25:38 -04:00
Casey Justus
59ab8de172
fixed slider event description and links
2011-07-31 21:12:15 -04:00
scottjehl
faf26d8f6d
namespaced $.fixedToolbars to $.mobile. Kept a deprecated pointer to $.fixedToolbars that we'll want to remove later. This feature can now be documented. Addresses Issue #2024
2011-07-31 20:35:18 -04:00
Casey Justus
1d1cc2b89f
added titles
2011-07-31 18:04:11 -04:00
Casey Justus
dcdca89717
added slider api
2011-07-31 17:47:03 -04:00
scottjehl
f020f0661b
documented the loadPage method's loadMsgDelay option.
2011-07-31 10:08:38 -04:00
scottjehl
ee17b4f05c
Ensure that navigating backwards through dialogs works as expected when domCache is false (which is the default now).
2011-07-31 10:03:22 -04:00
scottjehl
be74405b49
Added a configurable timeout to $.mobile.loadPage to give pages that are being fetched from cache a little time to load before a loading message appears. We'll need to tweak this timer based on device testing to determine how long it takes on average to fetch a cached page. If the delay ends up needing to be longer than 300ms or so to suit some devices, it's probably not worth having this feature at all.
2011-07-30 08:33:04 -04:00
scottjehl
bdba60efd5
removed urlHistory references to (and use of) each entry's "page" property, which kept a reference to the DOM elements of each page that had been loaded. This fixes leaking memory on removed pages, and outsources page requests to the browser cache (for real this time :) ).
2011-07-29 19:51:17 -04:00
scottjehl
5c01f3f1e5
fixed dead links
2011-07-29 19:46:19 -04:00
Omar Vargas
0729d25ad8
Checkbox with new API docs format
2011-07-29 17:37:57 -05:00
Todd Parker
2aad1bf345
Merge pull request #2175 from ovargas27/master
...
Radio button - new API docs format. Thanks ovargas27!
2011-07-29 14:40:27 -07:00
toddparker
1c136582ac
Added an H2
2011-07-29 17:34:18 -04:00
toddparker
8d496b782e
Page title fixes
2011-07-29 17:33:08 -04:00
toddparker
30fb05c162
Merge remote branch 'origin/master'
2011-07-29 17:30:46 -04:00
toddparker
264e71522d
Re-vamp of pages docs section to add new features, better organization
2011-07-29 17:29:31 -04:00
Omar Vargas
06f57b35a1
Radio input with new API docs format
2011-07-29 15:59:06 -05:00
scottjehl
aeaa0f7845
added unit test verifying that the domCache page option can be set globally via $.mobile.page.prototype.options.domCache = true;
2011-07-29 16:03:20 -04:00
John Bender
50acf2eb7c
fix to use options defined on page widget to determing domCache settings
2011-07-29 12:55:40 -07:00
John Bender
7a6b28d398
added to to verify that the nested pages are preserved when the parent page is cached
2011-07-29 10:10:26 -07:00
John Bender
3dc9f975e6
fixed second test for page caching
2011-07-29 10:10:26 -07:00
John Bender
3f20eaa038
fixed nav test for new namespace and made the test order independent
2011-07-29 10:10:26 -07:00
John Bender
27b4ba1691
ajaxDomCaching -> domCache
2011-07-29 10:10:26 -07:00
John Bender
ded500f3b4
testing additions for listview core
2011-07-29 10:10:26 -07:00
John Bender
180243e9ad
added a todo for the subpage tracking
2011-07-29 10:10:26 -07:00
John Bender
85114be097
use childPages method to abstract method for finding child pages, hopefully we can find something better than the url selector
2011-07-29 10:10:25 -07:00
John Bender
3035387446
first test for nested page removal/caching
2011-07-29 10:10:25 -07:00
John Bender
0cd7bb8370
whitespace fix for listview fixtures
2011-07-29 10:10:25 -07:00
John Bender
f79a1afd17
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
bda88be82e
whitespace and semi's in listview core tests
2011-07-29 10:10:25 -07:00
John Bender
d716f3e9e7
moved dom cache check above the enhance to let widgets unbind parent page hide behaviour. added parent removal to listview special remove
2011-07-29 10:10:25 -07:00
John Bender
57a1e9abf7
whitespace and log statement in listview
2011-07-29 10:10:25 -07:00
scottjehl
115f1710b1
remove entire list when parent page is hidden and next page is not a sub list. Note: the unbind of the "pagehide.remove" does not appear to be preventing the parent page from removal, and it regenerates its sublists when revisiting that parent, since it was removed.
2011-07-29 10:10:25 -07:00
John Bender
1a95670012
added test for explicit page caching via data attribute
2011-07-29 10:10:25 -07:00
John Bender
151d55f351
moved dom cache test to page sequence, negative case incoming
2011-07-29 10:10:25 -07:00
John Bender
191815440f
whitespace and missing semi
2011-07-29 10:10:25 -07:00
scottjehl
2b1baeb078
fixed up unit test so that it's now properly testing the ajax dom caching page option
2011-07-29 10:10:25 -07:00
scottjehl
a8c3859d84
using regular data method to access widget
2011-07-29 10:10:25 -07:00
scottjehl
dc054a10e7
implemented ajax dom caching option of the page plugin, which can be overridden by page options or data attribute. Includes unit test to support feature.
2011-07-29 10:10:25 -07:00
Samuel Padou
f097630a71
Fix issue of the select menu not closing on Chrome when we click out out of the menu or on the selected option
2011-07-29 17:39:53 +02:00
Todd Parker
1e01306559
Merge pull request #2166 from ovargas27/master
...
Text Input plugin with new API docs format
2011-07-28 19:55:49 -07:00
Omar Vargas
b13e9cede5
Update text input plugin link
2011-07-28 18:00:52 -05:00
Ghislain Seguin
30e8ea8e09
Coding standards
2011-07-28 15:25:57 -07:00
Ghislain Seguin
29c408f32a
Merge remote-tracking branch 'upstream/master'
2011-07-28 15:25:10 -07:00
Ghislain Seguin
703d31073e
Merge pull request #2102 from kpozin/patch-6
...
Cache option indices in <li>s in custom select menus instead of doing linear search on every click
2011-07-28 15:21:52 -07:00
Omar Vargas
b9127f6eb3
Text Input plugin with new API docs format
2011-07-28 16:37:29 -05:00
toddparker
0bf8b7c8de
Minor content tweaks.
2011-07-28 17:00:59 -04:00
toddparker
650c2c5156
Added initSelector option documentation
2011-07-28 17:00:32 -04:00
toddparker
5413459d6d
Removed quotes around boolean value examples.
2011-07-28 16:43:05 -04:00
toddparker
433f9af612
Updated markup to match the new API styles
2011-07-28 16:41:02 -04:00
toddparker
aac698520e
Added clearer messaging about dom ready and how to use pagecreate instead.
2011-07-28 16:26:34 -04:00
Faolan C-P
86824432e4
fix control group button selector in any .ui-bar instead of just .footer
2011-07-28 14:41:31 -04:00
Faolan C-P
21c8ce2989
add selector for links inside control groups in buttonMarkup
2011-07-28 14:35:47 -04:00
toddparker
91dfba1d0a
Fixed a path issue in the assets for these pages. Needed an extra hop for the CSS files.
2011-07-28 12:29:20 -04:00
toddparker
9ae4115ec8
Fixed broken paths in this page. We still need to figure out what to do with this page since it's sort of a duplicate of the homepage.
2011-07-28 12:23:43 -04:00
toddparker
9a82e3c59e
Missed fixing the home link path. Added another ../
2011-07-28 12:02:55 -04:00
toddparker
ece805a55b
Merge remote branch 'origin/master'
2011-07-28 12:01:09 -04:00
toddparker
5c603198e7
Created a new API docs format for people to help us populate. Started with just the select menu API docs to server as a template for others. Each plugin is now in a folder with a local nav between index (summary), options, methods, and events.
2011-07-28 12:00:36 -04:00
scottjehl
263193f490
Moved autoinit calls to after widgets. Made it so auto init selectors use the initSelector option, so that it can be configurable.
2011-07-27 18:42:16 -04:00
Ghislain Seguin
6ff9d9a06a
Coding standards
2011-07-27 11:22:13 -07:00
Ghislain Seguin
d1e8083f15
Merge pull request #2152 from webmynd/master
...
Consider data-role when picking page transition in changePage
2011-07-27 10:04:39 -07:00
Ghislain Seguin
f84f359743
Merge pull request #2154 from SamuelKC/bug_2064
...
Fix for issue #2064
2011-07-27 09:53:20 -07:00
Scott Jehl
2c4615176d
Fixed typo in reference to initSelector default value.
2011-07-27 11:58:20 -03:00
Samuel Padou
051855e94d
Bug 2064; Add try/catch block to prevent 'Unspecified error' when we use an IFrame on IE9
2011-07-27 14:53:27 +02:00
James Brady
9cf3a60dee
Consider data-role when picking page transition.
...
Re-use existing "isDialog" variable in changePage,
instead of just looking at settings.role.
2011-07-27 12:24:41 +01:00
Scott Jehl
705ed4f308
typo in comment
2011-07-26 17:04:36 -03:00
scottjehl
e07c40e3d0
exposed automatic initialization selectors on most widgets that expose options through the widget factory. Option name is "initSelector"
2011-07-26 14:22:08 -04:00
scottjehl
79d3aa6f04
brought back degradeInputs page option, this time as a decoupled page plugin file. Fixes #2123
2011-07-26 13:49:10 -04:00
scottjehl
7b051e0305
Merge remote branch 'origin/master'
2011-07-26 09:37:08 -04:00
scottjehl
30c94575c2
updated docs to include autoInitializePage option. Fixes #1391
2011-07-24 22:21:16 -04:00
scottjehl
d670feae08
removed test for page-div-not-required, as it has its own test page.. Added tests for auto initialize option.
2011-07-24 22:13:26 -04:00
scottjehl
df3fbca3f4
implemented the autoInitializePage global config option, so that auto-initialization may be disabled in favor of manually initializing the page later on. Still needs a unit test.
2011-07-24 19:27:21 -04:00
scottjehl
fdb77bfa52
changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions
2011-07-22 09:05:55 -04:00
scottjehl
1dd3f4bbb3
removed background unset from fieldcontains. No good reason to keep that in there.
2011-07-21 12:32:06 -04:00
scottjehl
1a828594f5
default for loadPage should be to not show the loading message, since its default use case is to fetch a page that is not yet active. However, changePage should cause it to show because loadPage is being called during a page change.
2011-07-21 08:04:12 -04:00
Scott Jehl
f70a947552
Merge pull request #2105 from jgable/fix_2104
...
Fixes #2104 . IE style in docs for ui-bar-f roundyness.
2011-07-20 16:05:28 -07:00
Scott Jehl
4d66aa6397
added input types url and tel to auto-init.
2011-07-20 15:29:08 -07:00
Scott Jehl
214e2e0c1a
Merge pull request #2118 from commadelimited/master
...
Fixes #2117 . Add textInput styles to email type input field
2011-07-20 15:27:42 -07:00
Scott Jehl
0cbea0bb90
Merge pull request #2120 from jgable/fix_2119
...
Fixes #2119 . updated $elem to $this
2011-07-20 15:09:44 -07:00
jacob4u2
9ff4d4cfd3
fix for #2119 ; updated to
2011-07-20 16:03:10 -05:00
Andy Matthews
0123608748
Edited js/jquery.mobile.forms.textinput.js via GitHub
2011-07-20 12:52:19 -07:00
scottjehl
3afef99719
forgot to add a file to the unit test markup
2011-07-20 14:37:02 -04:00
scottjehl
a3afffdbbd
restored autocorrect/complete disabling, as it was implemented in the page plugin already.
2011-07-20 12:59:20 -04:00
scottjehl
79cef2c01f
restored default theming for headers and footers
2011-07-20 12:58:38 -04:00
scottjehl
5dc3555373
restored dialog theming, which overrides default page theming, but not custom page theming.
2011-07-20 12:40:46 -04:00
scottjehl
3da4bd32a8
whitespace
2011-07-20 12:37:54 -04:00
scottjehl
6f701add58
updated unit tests to ensure the enhance event is working properly on self-initializing widgets
2011-07-20 09:35:48 -04:00
scottjehl
64e6ef0e72
bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance".
2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9
This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
...
- Internally, each plugin self-initializes by binding to the pagecreate event.
- Unit tests have been added and adjusted to support some internal changes involved in this commit.
- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.
- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.
- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
scottjehl
c7b63920e7
fixed test failures that occured when the jquery-mobile directory is located in a subdirectory of the server root.
2011-07-19 22:25:05 -04:00
jacob4u2
286f024a18
Updating gradients in jqm-docs.css ui-bar-f style to match default theme gradients with opera et al.
2011-07-18 17:15:15 -05:00
jacob4u2
a7ab4c049e
Fix for #2104 , IE style in docs for ui-bar-f roundyness
2011-07-18 17:01:14 -05:00
Konstantin Pozin
8fb64a5ef9
Added cached <option> element indices to corresponding <li>s in custom select menus.
...
Removed redundant .eq() call.
2011-07-18 09:27:39 -07:00
scottjehl
8e354a06c5
typo in docs
2011-07-17 17:04:11 -04:00
scottjehl
a93cdbcea0
changed up the unit test so that it didn't load the page in an iframe, which seemed to mess things up on the test server.
2011-07-17 16:29:05 -04:00
scottjehl
03f32728c6
removed a console.log
2011-07-17 16:22:13 -04:00
scottjehl
44dfea16e1
Merge remote branch 'origin/master'
2011-07-17 14:53:44 -04:00
scottjehl
259815d480
Make data-role=page elements optional. This change makes the framework more lenient with markup, and will ease integration with existing sites, as well as mashups with external content. Unit tests included. Fixes #2096
2011-07-17 14:52:49 -04:00
Scott Jehl
116df45ae7
Merge pull request #2091 from taktran/master
...
Minor doc fix up
2011-07-17 09:22:03 -07:00
Scott Jehl
c4f8e7dbfb
Merge pull request #2094 from hotTea/master
...
Fixes #2087 : Upgrade valencia to use the new gradient syntax
2011-07-17 09:03:35 -07:00
Mayank Varia
81581150dd
Upgrade valencia to use the new gradient syntax. Fixes #2087
...
Adjusted css3 prefixing for background gradients and removed -ms filter
gradients
2011-07-17 00:55:44 -07:00
Tak Tran
fc15c53d2d
Matching end comment for ui-grid-b code
2011-07-15 16:37:42 -07:00
John Bender
53a8023b14
fixed select tests to click the button instead of calling the select menu method
2011-07-15 15:22:56 -07:00
John Bender
2e2f318562
whitespace and missing semi in select
2011-07-15 15:22:56 -07:00
toddparker
edee8c42b3
Merge remote branch 'origin/master'
2011-07-15 17:04:33 -04:00
toddparker
6b8f322c66
Updated the single and multi-page templates to use the CDN version and have better design/content. Linked to these from the index page so they are more accessible too.
2011-07-15 17:02:25 -04:00
scottjehl
f84ceb12ed
Merge remote branch 'origin/master'
2011-07-15 16:30:03 -04:00
toddparker
4f6eea6e00
Fixed inline button docs to remove the incorrect info that wrapping multiple buttons in a container with data-inline="true" woudl work. You must add this each each button.
2011-07-15 16:11:26 -04:00
scottjehl
22b0cae65c
added unit tests for the data-prefetch attr
2011-07-15 15:55:27 -04:00
John Bender
ca173441d0
small refactor the the base url change for readability
2011-07-15 10:47:06 -07:00
scottjehl
098687ae63
added documentation for data-prefetch
2011-07-15 13:22:13 -04:00
scottjehl
a5d0a294e9
Implemented data-prefetch attribute for anchor elements. Presence of this attribute on an anchor will cause the referenced page to be preloaded when the parent page of that anchor is shown. Fixes #1819 .
2011-07-15 13:16:31 -04:00
scottjehl
3dd495588b
removed the nonHistorySelectors option, which was no longer in use after the nav refactor.
2011-07-15 11:50:26 -04:00
scottjehl
b0552d79de
removed some old alpha comments. Versioning covers this sort of thing.
2011-07-15 11:47:32 -04:00
scottjehl
affd609330
This ensures inner button text is visible in IE7. Fixes #2058 . Yay.
2011-07-15 11:42:25 -04:00
scottjehl
6da7e4a1dc
Made loading message configurable at runtime. Fixes #2044 . Fixes #1974 . Fixes #1947 .
2011-07-14 22:46:06 -04:00
Todd Parker
12d52772cb
Merge pull request #2075 from mattopenstack/master
...
Small update to doc readme for running the repo locally. Thanks mattopenstack!
2011-07-14 08:40:19 -07:00
Matt
00f86c83f0
update docs regarding running demos
2011-07-14 07:22:25 -07:00
John Bender
af3877be43
tests updated to accomodate relative hash references
2011-07-13 16:04:24 -07:00
John Bender
d827be3bf2
relative url change per Kin Blas's last pre-vacation request
2011-07-13 16:04:24 -07:00
Ghislain Seguin
584e3070ae
Unit tests for issue #1526
2011-07-12 23:32:22 -07:00
Ghislain Seguin
3062d385b8
Fix for issue #1526
2011-07-12 23:32:10 -07:00
Ghislain Seguin
8623b67a41
Merge pull request #2062 from taktran/patch-1
...
Fixed up spelling mistake.
2011-07-12 16:50:05 -07:00
Tak Tran
80edfd9f15
Fixed up spelling mistake.
2011-07-12 16:48:40 -07:00
scottjehl
815d82ba1f
changed padding-box to padding for -moz-background-clip per https://developer.mozilla.org/en/CSS/background-clip#Browser_compatibility
2011-07-11 02:17:17 -04:00
scottjehl
e5e198a8db
adjusted css3 prefixing for background gradients to a) increase browser support for standard prefixed gradients, and b) remove -ms filter gradients due to a rendering issue in IE9 that conflicts with border radius. Gradient support is set for IE10, however. More info on this bug and decision can be found at issue #2046 . Fixes #2046 . Fixes #1933 . Addresses a portion of #13 as well.
2011-07-11 02:06:24 -04:00
scottjehl
ada46734ec
abstracted out some of the page hide behavior to fix issues with the close button not returning focus to the button after closing. Also fixes an issue where a full page custom menu would open as a misplaced small custom menu the second time it opens (if the menu was closed via the custom close button). Fixes #1618 . Fixes #1692 . Fixes #1750 .
2011-07-10 21:56:58 -04:00
scottjehl
2de817d24c
fixed some logical errors in these tests. they now pass consistently in Firefox. Still inconsistent in Chrome, though they did pass once in Chrome during testing. Getting closer...
2011-07-10 21:51:08 -04:00
Scott Jehl
7b1966c850
Merge pull request #2015 from mlitwin/bug_1992
...
Fixes #1992 ; Swipe threshold constants are configurable
2011-07-10 15:20:15 -07:00
scottjehl
e567742c90
fixed up logic and code style for the _removeCorners "which" argument. Thx for the logic suggestion, @eugenb1. Fixes #1996 .
2011-07-10 18:07:12 -04:00
scottjehl
4703fe0d24
Merge branch 'master' of https://github.com/wietsevenema/jquery-mobile into wietsevenema-master
2011-07-10 17:46:51 -04:00
scottjehl
fdde24b51f
fixed unit test - menu var wasn't defined.
2011-07-10 17:34:38 -04:00
scottjehl
033ce4ab96
Merge branch 'fix_issue_1851' of https://github.com/tigbro/jquery-mobile into tigbro-fix_issue_1851
...
Conflicts:
js/jquery.mobile.forms.checkboxradio.js
2011-07-10 17:17:51 -04:00
scottjehl
47cb8cbeeb
fixed test so it passes in Firefox
2011-07-10 17:14:55 -04:00
scottjehl
1036a8398a
added unit test to verify previous bugfix.
2011-07-10 16:28:40 -04:00
scottjehl
3deaa97c3a
removed the globalpagecreate event trigger that came with the previous pull request, as it was never necessary.
2011-07-10 16:12:05 -04:00
scottjehl
f13207505f
Merge branch 'master' of https://github.com/eugenb1/jquery-mobile into eugenb1-master
2011-07-10 16:09:00 -04:00
scottjehl
25f6e012b6
removed some old experiments. Others should soon move to a branch or external repo.
2011-07-10 15:39:26 -04:00
Scott Jehl
e1fd7a9e32
Merge pull request #2043 from beatryder/collapsible-set-fix
...
Fixes #1931 - Collapsible Set - Visual Bug
2011-07-10 07:18:53 -07:00
Ryan Neufeld
92fcbe1672
Fix for Bug #1931 - Collapsible Set - Visual Bug
...
collapsable selector was using :first so set was only ever one element.
changed find to children
2011-07-07 13:20:10 -07:00
John Bender
b761496ece
moved typeof check to jQuery.type()
2011-07-07 09:22:24 -07:00
John Bender
bf9c071900
whitespace in navigation
2011-07-07 09:19:16 -07:00
Eugen
d581accfdb
#2018 - forms.select now uses $.mobile.defaultDialogTransition
2011-07-07 09:52:02 +02:00
Eugen
4102df9923
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-07-07 09:20:55 +02:00
Todd Parker
64a5786a81
Merge pull request #1941 from kpozin/patch-2
...
Change timing function on spin animation to linear. Thanks kpozin!
2011-07-06 19:57:36 -07:00
Todd Parker
a38b8f4207
Merge pull request #2039 from jgable/bug_1999
...
Fix #1999 , mismatched gradient stops for .ui-btn-up-c style. Thanks jgable!
2011-07-06 14:07:29 -07:00
jacob4u2
e2a7b1a63c
Fix #1999 , mismatched gradient stops for .ui-btn-up-c style
2011-07-06 16:03:13 -05:00
Todd Parker
6e6c06b8f2
Merge pull request #2028 from jgable/bug_2002
...
Fix #2002 ; updated -ms-filter style to match others. Thanks jgable!
2011-07-06 13:47:20 -07:00
Todd Parker
a1980d77dc
Merge pull request #2033 from blowsie/patch-1
...
Replaced Start tag (<div>) With End tag (</div>) in the example <code>. Thanks blowsie!
2011-07-06 13:34:34 -07:00
Todd Parker
dcde8311cb
Merge pull request #2037 from kpozin/patch-3
...
Fix for #1271 - code should be checking o.iconshadow rather than o.shadow. Thanks kpozin!
2011-07-06 13:33:29 -07:00
Konstantin Pozin
807089b04a
Fix for #1271 - iconshadow
2011-07-06 13:22:53 -07:00
Ghislain Seguin
21557ff5c5
Merge pull request #1993 from gseguin/issue-1990
...
Proposed fix for issue #1990
2011-07-06 10:44:22 -07:00
blowsie
63bfcdcc39
Replaced Start tag (<div>) With End tag (</div>) in the example <code>
2011-07-06 02:17:53 -07:00
jacob4u2
f56d084aec
Fix #2002 ; updated -ms-filter style to match others
2011-07-05 17:25:03 -05:00
toddparker
30892bab4b
Updated the Anatomy of a Page code examples to include the meta viewport tag
...
Updated 2 code examples with suggested settings and added an explanation of the feature. Fixes #1991
2011-07-05 14:40:51 -04:00
Eugen
da2b8ba21a
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-07-05 09:15:21 +02:00
Scott Jehl
69550178c1
Merge pull request #2012 from chtitux/patch-1
...
Fix a typo in the doc : H1 should be H6 in the h6 tag
2011-07-02 09:02:02 -07:00
mlitwin
1ef7313e39
Bug 1992; Swipe threshold constants are configurable
2011-07-02 08:23:52 -07:00
Théophile Helleboid - chtitux
971a2a78ed
Fix a typo in the doc : H1 should be H6 in the h6 tag
2011-07-02 03:36:44 -07:00
scottjehl
8b220a7be4
updated jquery version to 1.6.2
2011-07-01 14:39:21 -04:00
Ghislain Seguin
2deeee14d7
More elegant fix for #1990
...
Re-use $.mobile.allowCrossDomainPages & call deferred.reject to notify caller of failure
2011-06-30 13:40:06 -07:00
Eugen
1068f3e968
globalpagecreate-Event
2011-06-30 13:24:24 +02:00
Wietse Venema
dd2bdcd606
added failing test for inset listview issue with top-corner
2011-06-30 11:11:52 +02:00
Ghislain Seguin
8117f12ad5
Coding standards
2011-06-29 21:03:12 -07:00
Ghislain Seguin
b02e19891a
Replace $.noop by function that throws to not fail silently
2011-06-29 21:02:53 -07:00
Ghislain Seguin
5fe310600f
Fix for #1990 : Introducing $.mobile.ajaxCrossDomainEnabled defaults to false
2011-06-29 20:00:12 -07:00
Kin Blas
2b51355656
Switch back to processing link clicks on the "click" event. It really is the only reliable way across all the devices we support.
...
Also, remove all references to useFastClick.
2011-06-29 17:38:00 -07:00
John Bender
2fda8f7efc
sorted directories to create consistent/readable order of execution
2011-06-29 13:46:05 -07:00
John Bender
5a14398c55
throttledresize event tests use eventSequence
2011-06-29 12:48:09 -07:00
John Bender
8b6e617309
set up eventSequence helper, moved pageSequence to eventSequence(changpage, fns)
2011-06-29 12:41:04 -07:00
John Bender
eb772dfcae
click the first item link in the dialog and not all the items in the dialog
2011-06-29 10:43:30 -07:00
John Bender
0774d6bfa0
move isOpen = true to the page show for dialog selects and to the bottom of the custom select logic branch to prevent timing issues
2011-06-29 10:43:30 -07:00
Kin Blas
df4e49b70c
Merge pull request #1985 from rwldrn/jquery.mobile.page.js-4
...
Fixes regression: jquery.mobile.page.js - revert var decl
2011-06-29 10:26:28 -07:00
Rick Waldron
658a420c3b
Fixes regression: jquery.mobile.page.js - revert var decl
2011-06-29 13:24:55 -04:00
Kin Blas
fb4b2ade25
Merge pull request #1984 from rwldrn/jquery.mobile.page.js-2
...
Fixes regression: jquery.mobile.page.js
2011-06-29 10:16:57 -07:00
Rick Waldron
a98a0d951f
Fixes regression: jquery.mobile.page.js
2011-06-29 13:08:04 -04:00
Kin Blas
554780f36c
Merge pull request #1981 from rwldrn/jquery.mobile.widget.js
...
jQuery core style guide conformance: jquery.mobile.widget.js
2011-06-29 09:15:52 -07:00
Kin Blas
a68cdd9f33
Merge pull request #1959 from rwldrn/jquery.mobile.fixHeaderFooter.js
...
jQuery core style guide conformance: jquery.mobile.fixHeaderFooter.js
2011-06-29 09:14:51 -07:00
Ghislain Seguin
188dbcc1a5
Coding standards
2011-06-29 08:59:40 -07:00
Ghislain Seguin
92fa98a88a
Merge pull request #1980 from rwldrn/jquery.mobile.vmouse.js
...
jQuery core style guide conformance: jquery.mobile.vmouse.js
2011-06-29 08:52:52 -07:00
Kin Blas
93e59a7f22
Merge pull request #1957 from rwldrn/jquery.mobile.event.js
...
jQuery core style guide conformance: jquery.mobile.event.js
2011-06-29 08:50:12 -07:00
Rick Waldron
19e36d2fff
jQuery core style guide conformance: jquery.mobile.event.js - fix string concat & split
2011-06-29 11:46:50 -04:00
Ghislain Seguin
7206049d21
Merge pull request #1979 from rwldrn/jquery.mobile.transition.js
...
jQuery core style guide conformance: jquery.mobile.transition.js
2011-06-29 08:36:41 -07:00
Kin Blas
786d1bf328
Merge pull request #1978 from rwldrn/jquery.mobile.support.js
...
jQuery core style guide conformance: jquery.mobile.support.js
2011-06-29 08:23:53 -07:00
Rick Waldron
fcc874eb93
jQuery core style guide conformance: jquery.mobile.widget.js
2011-06-29 10:00:57 -04:00
Rick Waldron
c61c064d25
jQuery core style guide conformance: jquery.mobile.vmouse.js
2011-06-29 09:57:45 -04:00
Todd Parker
afe76dc340
Merge pull request #1958 from rwldrn/jquery.mobile.fieldContain.js
...
jQuery core style guide conformance: jquery.mobile.fieldContain.js
2011-06-29 06:56:09 -07:00
Rick Waldron
087c584ccd
jQuery core style guide conformance: jquery.mobile.transition.js
2011-06-29 09:38:57 -04:00
Rick Waldron
ce57eed4f6
jQuery core style guide conformance: jquery.mobile.support.js
2011-06-29 09:36:41 -04:00
Ghislain Seguin
9d728f4d41
Merge pull request #1977 from rwldrn/jquery.mobile.page.js
...
jQuery core style guide conformance: jquery.mobile.page.js
2011-06-29 06:34:47 -07:00
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
Ghislain Seguin
67d468be8c
Merge pull request #1976 from rwldrn/jquery.mobile.navbar.js-2
...
jQuery core style guide conformance: jquery.mobile.navbar.js-2
2011-06-29 06:17:20 -07: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
Kin Blas
c484a5644a
Merge pull request #1951 from rwldrn/jquery.mobile.buttonMarkup.js
...
jQuery core style guide conformance: jquery.mobile.buttonMarkup.js
2011-06-28 16:06: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
John Bender
a9020282b5
moved select test to page sequnce to fix timing issues
2011-06-27 19:03:30 -07: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
Konstantin Pozin
e0dcf06983
Changed timing function on spin animation to linear, for a much smoother-looking spinner
2011-06-27 14:05:16 -07:00
John Bender
9729dc9f15
moved finicky hashchange test to sequence helper to prevent overlap with setting the hash
2011-06-27 12:36:17 -07:00
John Bender
d42658882a
fixed init hang
2011-06-27 11:19:52 -07:00
John Bender
56c43d398b
white space and title change for the suite runner
2011-06-27 11:19:51 -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
Todd Parker
8ec750ec65
Merge pull request #1938 from adamvaughan/filterfix
...
Prevent submitting the listview filter form. Fixes #1068 . Thanks adamvaughan!
2011-06-27 09:14:56 -07:00
Adam Vaughan
abc2763188
don't submit the filter form
2011-06-27 09:35:16 -06:00
Tobias Bosch
ec06fc1efd
unit tests for #1851 added.
2011-06-27 16:40:31 +02:00
John Bender
807536dd2c
clear both timeouts when the tests complete or timeout
2011-06-26 23:29:26 -07:00
John Bender
132e6e510f
whitespace in test suite runner
2011-06-26 23:19:38 -07:00
John Bender
37f533f12b
fixed double equals lint warning
2011-06-26 23:17:49 -07:00
John Bender
97feeaffc0
moved check to interval, made the directories an ajax call instead of a templated js array, and reorged some bits to clean things up
2011-06-26 23:16:50 -07:00
John Bender
a7045d3bb4
prevent js error by adding a default page for the widget tests
2011-06-26 23:16:03 -07:00
John Bender
ce09bebe20
quick todo for the test runner
2011-06-26 21:20:05 -07:00
John Bender
13c0b1bdd8
whitespace correction for the test runner
2011-06-26 21:18:07 -07:00
John Bender
4409782b00
moved directories to a seperate php file the emits json
2011-06-26 21:17:32 -07:00
John Bender
b016b028f6
corrections in suite timeout code with a clearTimer addition
2011-06-26 19:58:29 -07:00
John Bender
32f5b226d7
fixed relative path issues for the jquery mobile website, and made a small tweak to the qunit css
2011-06-26 15:35:33 -07:00
John Bender
7575f35fa1
remove console log from unit test runner
2011-06-26 12:47:35 -07:00
John Bender
75a4a0795c
added a page to run all the tests in a single place, depends on subdirectories representing their tested mobile files
2011-06-26 12:10:11 -07:00
John Bender
345c9e4dbb
moved 20ms scroll test to test that it the scrolling is async. 20ms isn't enough time to be reliable
2011-06-26 12:10:11 -07: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
3b96fa8cd1
Removed param "refresh" sent to .controlgroup since it's not a $.widget
2011-06-24 21:15:56 -07:00
Ghislain Seguin
52a0c10ef4
Readded tests for issue #1929
2011-06-24 21:14:09 -07:00
Ghislain Seguin
ebd4eeced0
Fix for issue #1929 (second attempt)
2011-06-24 21:13:46 -07:00
Ghislain Seguin
6b1343d946
Added test to catch previous breakage caused by buttons having class 'ui-btn-corner-all'
2011-06-24 20:49:16 -07:00
Ghislain Seguin
66aed02180
Disabled tests for issue #1929 until I find a better fix for it
2011-06-24 20:13:12 -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
e0042cf58d
Added unit tests for controlgroup
2011-06-24 16:13:41 -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
2e79a1aa33
updated the Valencia theme to match the active state changes for checks & radios.
2011-06-24 12:50:05 -04:00
Ghislain Seguin
9cf884eabb
Coding standards
2011-06-24 12:40:01 -04:00
Ghislain Seguin
7a14f2ef15
Fixed checkbox/radio unit tests to match new active classes
2011-06-24 12:40:01 -04: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
Ghislain Seguin
3ab9665ddd
Fixed icons offset
2011-06-24 12:40:00 -04:00
scottjehl
5a4b5f3206
Implemented the new design for checkboxes and radios as proposed by @toddparker.
2011-06-24 12:40:00 -04:00
scottjehl
037a589d6e
Merge remote branch 'origin/master'
2011-06-24 12:39:42 -04:00
Scott Jehl
e8a973f46a
Merge pull request #1710 from gseguin/issue-1338
...
Issue 1338
2011-06-24 09:16:01 -07:00
scottjehl
5b147580e6
Merge branch 'issue-1338' of https://github.com/gseguin/jquery-mobile into gseguin-issue-1338
2011-06-24 12:12:33 -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
Scott Jehl
4443e9b761
Merge pull request #1919 from jgable/master
...
Fix for Typo in Docs; forms-selects.html
2011-06-24 08:41:06 -07:00
jacob4u2
c24b4d813b
Typo in docs; if -> is, forms-select.html
2011-06-23 21:20:30 -05:00
Kin Blas
5ed85a8fe6
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-23 16:42:20 -07:00
Kin Blas
53d375cd0a
Unit test for issue #1913 - unnecessary ajax call and duplicate DOM nodes when refreshing a page with a dialog visible.
2011-06-23 16:41:26 -07:00
Kin Blas
19031c6492
Merge pull request #1914 from sunpig/refreshdialog
...
Fix issue 1913 - unnecessary ajax call and duplicate DOM nodes when refreshing a page with a dialog visible.
2011-06-23 16:40:32 -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
toddparker
c81b8cc181
Removed duplicate entry for Opera Mini (5.0-6.0) under C grade. It's B grade folks.
2011-06-22 14:49:13 -04:00
Kin Blas
4c8d7237df
Changed the default for the delayedClickEnabled option to false. It was experimental anyways, for Android based browsers, and was breaking link clicking on iOS.
2011-06-22 11:42:37 -07:00
toddparker
685b2cd0bf
Fixed swatch letter typo for E buttons - it said ui-bar-d instead of ui-bar-e. Fixes #1894 . Thanks app42!
2011-06-22 13:58:33 -04:00
Ghislain Seguin
0935b6b0e6
Merge pull request #1901 from cburgdorf/patch-2
...
Fixed curly braces on new line
2011-06-22 09:36:29 -07:00
cburgdorf
c13a2f3bcb
Fixed curly braces on new line
2011-06-22 09:31:49 -07:00
toddparker
221a8f1059
Merge remote branch 'origin/master'
2011-06-22 12:20:36 -04:00
toddparker
2a252d70f9
Language tweaks
2011-06-22 12:11:51 -04:00
toddparker
a9fc1e06f8
Moved collapsible sets (accordions) into a standalone page for better visibility, updated section nav on other pages and index page to link to it.
2011-06-22 12:01:13 -04: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
John Bender
68a354ed07
make sure the stack is clear before the run continues
2011-06-21 13:12:27 -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
3e3a57401c
page is no longer in use.
2011-06-21 12:11:24 -04:00
scottjehl
a94f62a6e7
Merge remote branch 'origin/master'
2011-06-21 11:34:10 -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
John Bender
7451a4b30e
event test fixes with one test removal. still _very_ time sensitive
2011-06-20 22:26:24 -07:00
John Bender
66fc726321
whitespace fix for event core tests
2011-06-20 22:26:24 -07:00
scottjehl
40b1e16693
changed working version to beta 2 pre
2011-06-20 19:38:44 -04:00
scottjehl
a9fae15c88
woops. missed a couple. done now.
2011-06-20 19:17:49 -04:00
John Resig
e9e64c2c77
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-06-20 16:07:02 -07:00
John Resig
1ab4ddb507
Releasing jQuery Mobile 1.0b1.
2011-06-20 16:05:02 -07:00
scottjehl
7d8d249280
small docs adjustment
2011-06-20 19:04:58 -04:00
scottjehl
1ab123c76b
components first
2011-06-20 19:03:57 -04:00
scottjehl
52575bb5cb
updated versions in sample code
2011-06-20 19:01:50 -04:00
scottjehl
4c6f3fb5c8
couple more docs markup updates
2011-06-20 18:59:32 -04:00
scottjehl
13a22e3eec
updated the footers in the new docs templates
2011-06-20 18:53:55 -04:00
scottjehl
f3e35d49dd
more updates to the docs markup. getting close!
2011-06-20 18:53:55 -04:00
scottjehl
579f418c2e
updated the rest of the navs to be local to their section.
2011-06-20 18:53:54 -04:00
scottjehl
ebf9bd8535
added navigation components to most docs pages
2011-06-20 18:53:54 -04:00
scottjehl
6980110d32
updated header themes
2011-06-20 18:53:54 -04:00
scottjehl
85c1121680
update js references
2011-06-20 18:53:54 -04:00
scottjehl
74b001f62e
linked up js docs references properly
2011-06-20 18:53:54 -04:00
scottjehl
735ee926d3
more docs updates. moved to the green header, set default transition dynamically
2011-06-20 18:53:53 -04:00
scottjehl
a1785b0574
more docs updates
2011-06-20 18:53:53 -04:00
scottjehl
46622fde58
more updates to docs
2011-06-20 18:53:53 -04:00
scottjehl
4cbbd7779a
docs design updates
2011-06-20 18:53:53 -04:00
scottjehl
c7a852938c
layout tweaks on the docs.
2011-06-20 18:53:53 -04:00
scottjehl
1e5441fd76
reworked the docs to better accommodate wide screens using a simple responsive layout. Tweaks forthcoming!
2011-06-20 18:53:53 -04:00
Kin Blas
5890a801be
Fixed a couple of errors caught by jshint.
2011-06-20 15:09:54 -07:00
Ghislain Seguin
dabb66aae9
Coding standards
2011-06-20 13:17:23 -07:00
Ghislain Seguin
4487aba8a0
Fixed test case for programmatically created list items
2011-06-20 13:16:09 -07:00
John Bender
4dac49359f
fix for back button page index check by reseting history stack
2011-06-20 13:09:29 -07:00
John Bender
7b00335dcc
small whitespace fix in navigation core tests
2011-06-20 13:09:29 -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
toddparker
4000afe720
A few tweaks to the supported patform page to add details.
2011-06-20 14:55:39 -04: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
fa559af5b7
Merge remote branch 'origin/master'
2011-06-20 13:31:31 -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
toddparker
7a5c8b7e62
Re-vamped supported platform page to match the latest Beta 1 blog post. Added desktop browsers to the list.
2011-06-20 13:04:18 -04:00
scottjehl
46c0946633
Disable background on hidden buttons so that they don't appear in Opera Mini. Fixes #1862
2011-06-20 12:10:14 -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
c4491d279f
fixed unit tests to use new orientationchange logic, which no longer binds to resize event.
2011-06-18 10:45:36 -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
9ab7817b5b
native forms example page was missing a meta viewport.
2011-06-18 08:16:49 -04:00
Kin Blas
18d7b7902c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-17 18:22:46 -07:00
Kin Blas
9f4ae3ba79
Documenting isSameDomain(), isRelativeUrl(), isAbsoluteUrl(), makePathAbsolute(), and makeUrlAbsolute().
2011-06-17 18:22:00 -07:00
scottjehl
06020201fc
fixed up the themeswitcher
2011-06-17 19:25:35 -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
d636421f95
Merge remote branch 'origin/master'
2011-06-17 19:03:01 -04:00
scottjehl
758e430653
fixed theme inheritance on filter lists in IE7.
2011-06-17 19:02:53 -04:00
toddparker
849c533839
Fixed page title
2011-06-17 18:46:04 -04:00
toddparker
101d40e7f2
Removed beta support block
2011-06-17 18:45:19 -04:00
toddparker
30e085c05b
Merge remote branch 'origin/master'
2011-06-17 18:44:14 -04:00
toddparker
79391e8d66
Updated supported browser info for beta.
2011-06-17 18:43:58 -04:00
toddparker
82d66252ad
Updated support platform list to match beta 1
2011-06-17 18:40:54 -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
toddparker
b3aa56582c
Added a warning about the use of the flip transition on Android.
2011-06-17 16:37:28 -04:00
Kin Blas
29df5c6a3c
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-17 12:30:31 -07:00
Kin Blas
93d3551f9c
Documenting $.mobile.path.parseUrl().
2011-06-17 12:29:50 -07:00
Todd Parker
1d5e6b330a
Merge pull request #1845 from gseguin/tests
...
Fixed test for "Programmatic removal of list items"
2011-06-17 12:09:31 -07:00
Ghislain Seguin
a6533e3676
Fixed test for "Programmatic removal of list items"
...
(cherry picked from commit 5d4bf2d5412c900fbcd093f1a3549a34dbab8e6c)
2011-06-17 11:59:05 -07: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
b787ef1015
Updated documentation for theming the list view filter search box. (cherry-picking from commit b39dab88d8567ddc40f87eca718e12d29cbd4df7)
...
Credit to @adamvaughan for this change.
2011-06-17 01:32:50 -04: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
6f6f9cd3fc
Fixed typo in test url.
2011-06-17 00:26:48 -04:00
Scott Jehl
aaba7a5621
Merge pull request #1802 from eddiemonge/patch-2
...
edited README.md with updates and patching help url
2011-06-16 21:25:59 -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
Scott Jehl
fb8ad44a94
Merge pull request #1842 from gseguin/issue-1595
...
Fix for issue #1595
2011-06-16 20:30:28 -07:00
Ghislain Seguin
00bd49a414
issue #1595 : Back button gets clipped when there is no title
2011-06-16 17:25:59 -07:00
Kin Blas
712e7b01a8
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-16 15:44:49 -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
6e7e4d0c7a
Merge pull request #1841 from gseguin/issue-1816
...
Fix for issue #1816
2011-06-16 15:41:40 -07:00
Ghislain Seguin
c3e501541a
Fix for issue #1816 : $(select).selectmenu('disable') causes issues on iOS for native selects
2011-06-16 15:39:09 -07:00
Kin Blas
0ec7c3c54a
Changed the description of the role option for loadPage() and changePage() to reflect some changes to the default value I just checked in.
2011-06-16 15:18:42 -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
Kin Blas
ca4428c430
- Update changePage() documentation to match current implementation.
...
- Added entry for loadPage().
2011-06-15 13:58:08 -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
Kin Blas
41349de54f
Add some tests for the use case where the document URL is different from the document base.
2011-06-13 15:26:19 -07:00
Kin Blas
aca0caa1e3
Merge branch 'master' into path-fixes
2011-06-13 15:20:01 -07:00
scottjehl
74de5b2b55
changed the opacity/native select hiding so that it works in some variants of android 2.2. Fixes #1051
2011-06-13 18:05:50 -04:00
Todd Parker
1230bedd40
Merge pull request #1818 from innoying/patch-1
...
Fixed typo in docs/buttons/buttons-themes.html. Thanks innoying!
2011-06-13 07:38:49 -07:00
Luke Young
48dac50dad
Fixed typo in docs/buttons/buttons-themes.html (was "d" when it should be "e")
2011-06-12 12:13:33 -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
Todd Parker
682058eb6e
Merge pull request #1810 from alazaro/patch-1
...
Fixes #1809 - icon images not showing in collapsible content.
2011-06-10 15:12:28 -07:00
Kin Blas
a337e6d9a2
Fixed a test case that had a bad baseline result.
2011-06-10 10:17:54 -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
Todd Parker
a0a04da7b3
Merge pull request #1815 from gseguin/issue-1762
...
Issue 1762: Extra (useless) iteration on list view items. Closes #1762
2011-06-10 09:51:42 -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
Álvaro Lázaro
f44d3c3cef
Fixed #1809 - icon images not showing in collapsible content.
2011-06-10 03:52:15 -07:00
Kin Blas
f605e100e4
More fixes to get the navigation tests green again.
...
- Switched lots of tests over to using pageSequence.
2011-06-09 20:44:10 -07:00
Scott Jehl
3ca8f35ca2
Merge pull request #1806 from frietsch/master
...
Fixed a bug that can result in totally blank pages.
2011-06-09 13:24:36 -07:00
scottjehl
e1ed42d8b9
removed height:100% on inner buttons. I think this was a carryover from the old listview markup, but in testing we found no regressions by removing this. Fixes #1507
2011-06-09 16:17:18 -04:00
Eddie Monge
d508c3da96
remove ASP style tags, closing PHP tags and short php code
2011-06-09 09:31:42 -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
Scott Jehl
daffc98bf8
Merge pull request #1795 from bestform/master
...
Scrollview: fixed binding of orientationchange event
2011-06-09 07:20:26 -07:00
Eddie Monge
3688e8fa92
minor changes to combine.php
2011-06-09 01:51:37 -07:00
Eddie Monge Jr.
b2b10ccb0d
edited README.md with updates and patching help url
2011-06-09 01:23:52 -07:00
Matthias Derer
506c1d974c
Merge remote branch 'jquery/master'
2011-06-09 08:50:56 +02: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
scottjehl
f8957baec7
make sure options don't get text-indented. Fixes #1717
2011-06-08 16:37:42 -04:00
Matthias Derer
04e75b07cd
fixed binding of orientationchange event (was on document, but only works on window). Moreover, it is now bound using 'bind' and not 'live'
2011-06-08 17:18:05 +02:00
Todd Parker
4497d138f2
Merge pull request #1782 from gseguin/nested-lists
...
Beefed up nested lists test
2011-06-08 07:39:34 -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
3a2a35f8f2
Merge pull request #1784 from gseguin/master
...
Whitespace change
2011-06-06 08:34:38 -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
6af27f9a7e
Beefed up nested lists test
2011-06-03 11:06:44 -07:00
Kin Blas
c88f5fc251
Merge pull request #1781 from gseguin/nested-lists
...
Nested lists id generation
2011-06-03 10:58:43 -07:00
Ghislain Seguin
888a3d4faf
Fixed nested lists tests following id generation change (8373105)
2011-06-03 10:55:04 -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
Ghislain Seguin
14492002e2
Fixed test case for issue #1617
2011-06-03 10:55:04 -07:00
Kin Blas
9e696b8d26
Backing out commit for "fix height issue for transitioning page"
...
https://github.com/jquery/jquery-mobile/pull/1723
b2a534c217
It was causing a few issues including:
https://github.com/jquery/jquery-mobile/issues/1770
2011-06-03 09:29:41 -07:00
Kin Blas
fad61785fe
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-06-02 16:54:14 -07:00
Kin Blas
489fc19fb1
Unit test to catch issues like 1767.
...
- Test passing string as data option to changePage().
- Test passing object as data option to changePage().
2011-06-02 16:52:36 -07:00
Kin Blas
97ba431f92
Merge pull request #1771 from eddiemonge/makefile_deploy
...
Makefile: Remove log as the info is now in the files from the nightly/lat
2011-06-02 14:33:48 -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
eddiemonge
757dda99d0
Makefile: Remove log as the info is now in the files from the nightly/latest build. Fix output name for the same
2011-06-02 09:49:21 -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
Kin Blas
6a2deead0f
Merge pull request #1724 from eddiemonge/dialogToCodeStandards
...
Dialog to code standards and refactor a bit
2011-05-31 14:48:05 -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
bb67018dd7
Merge pull request #1723 from eddiemonge/bug_1507
...
fix height issue for transitioning page
2011-05-27 07:21:02 -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
eddiemonge
7a01d702ef
trying to sneak this in as well
2011-05-26 16:49:05 -07:00
eddiemonge
b2a534c217
fix height issue for transitioning page
2011-05-26 16:43:07 -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
Todd Parker
881d3f455f
Merge pull request #1720 from StevenBlack/CollapsibleToCodeStandards
...
jquery.mobile.collapsible.js: Whitespace to standards. Now passes jsHint. Thanks Steven.
2011-05-26 13:04:20 -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
Scott Jehl
84d540e533
Merge pull request #1718 from Wilto/master
...
Fixed header/footer positioning in IE 7/8
2011-05-26 11:27:56 -07:00
Mat Marquis
86295b170d
Correcting my own comment.
2011-05-26 13:00:01 -04:00
Mat Marquis
4947eacf1c
Bound 'silentscroll' event back to document, as it was causing issues in modern browsers and made no difference in IE 7/8.
2011-05-26 12:40:49 -04:00
Mat Marquis
f36e92fb7b
Desktop IE wasn't reporting a scrollTop value for fixed headers/footers—'window' is now provided as a fallback in the event that .scrollTop() reports zero.
2011-05-26 11:51:16 -04:00
Steven Black
ab76ac33ac
jquery.mobile.dialog.js: Whitespace changes and string delimiters, bringing this up to jQuery coding standards. Renamed one memory variable for legibility and clarity.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 10:01:39 -04:00
Kin Blas
e5876e3d3b
Attempt number 2 at fixing 1708 - - nightbuild close dialog throwing error
2011-05-25 17:17:21 -07:00
Kin Blas
bee8549a18
Fixed a bad typo caught by @johnbender and @gseguin.
...
- Replaced an un-intentional semi-colon with a comma.
2011-05-25 15:13:44 -07:00
Ghislain Seguin
17000df9b0
Merge branch 'master' of https://github.com/jquery/jquery-mobile into issue-1338
2011-05-25 13:11:04 -07:00
Ghislain Seguin
ed7eb38bdc
Issue #1338
...
Added unit test
2011-05-25 13:10:50 -07:00
Ghislain Seguin
37a180a6c5
Issue #1338
...
Smaller CSS fix
2011-05-25 13:10:50 -07:00
Kin Blas
0012657761
Fix for issue 1708 - nightbuild close dialog throwing error
...
- Check the returned active object to see if it is valid before attempting to extract the transition out of it. Default to $.mobile.defaultDialogTransition if there is no active object.
2011-05-25 13:10:50 -07:00
Shana Golden
4ca2fc5287
Allow checkboxes and radio buttons to be selected with the keyboard
2011-05-25 15:45:41 -04:00
Kin Blas
923b047e75
Fix for issue 1708 - nightbuild close dialog throwing error
...
- Check the returned active object to see if it is valid before attempting to extract the transition out of it. Default to $.mobile.defaultDialogTransition if there is no active object.
2011-05-25 12:44:10 -07:00
Ghislain Seguin
e38a58ab54
Issue #1338
...
Fixed CSS
2011-05-25 11:00:20 -07:00
John Bender
a4ee2d5bbb
moved local failing firefox test to pageSequence helper
2011-05-24 16:42:38 -07:00
scottjehl
e1ac8eec6b
Merge remote branch 'origin/master'
2011-05-24 19:32:59 -04:00
scottjehl
198ca91d7d
Changed the hiding mechanism for invisible native selects so that they work in Firefox Mobile. Fixes #1626 . Tested on the following platforms: Mobile Firefox on Android 2.2, Firefox 3.6 and 4.x Mac, Chrome on Mac, Internet Explorer 7 and 8 - Desktop, Windows Phone 7, Safari desktop, Android 2.2 webkit, iOS 4 iPhone, BlackBerry 5, BlackBerry 6, iOS 4 on iPad, Opera Mini & Desktop on Mac
2011-05-24 19:32:53 -04:00
Scott Jehl
32d7fca682
Merge pull request #1685 from StevenBlack/NixDatepicker
...
Per discussions last week: removal of the experimental jQuery-UI-based Datepicker. Code can be found here: https://github.com/filamentgroup/jQuery-Mobile-Themed-DatePicker
2011-05-24 15:53:44 -07:00
scottjehl
912b674556
Merge remote branch 'origin/master'
2011-05-24 17:40:02 -04:00
scottjehl
76fe9ca3fd
moved previous logic to the init file so it's not overridden by defaults.
2011-05-24 17:39:53 -04:00
John Bender
8291f92ce8
fixed error on undefined var in init_core tests
2011-05-24 14:14:19 -07:00
scottjehl
7b578f7873
Disabled ajax navigation in BlackBerry 5 and Opera Mini, for a more usable overall experience (and in some cases, due to insufficient native history implementations that don't track hash changes). Fixes #1644 and Fixes #1276
2011-05-24 17:08:29 -04:00
scottjehl
8929ac33b9
Removed the ajaxLinksEnabled and ajaxFormsEnabled settings. These were deprecated in a4 and scheduled for removal. Automated link and form ajax handling can still be globally disabled via the ajaxEnabled option.
2011-05-24 16:08:30 -04:00
Kin Blas
368d3e55b4
Merge branch 'master' into navigation
2011-05-23 17:00:32 -07:00
Kin Blas
5e87e8481d
Did a sweep over all tests (except for filter tests) to convert them to pageSequence() where possible. This fixes the test bustages caused by the changePage() refactoring. Note that the "Multiple nested lists on a page" test is still busted, as it is on the HEAD.
2011-05-23 16:51:37 -07:00
Kin Blas
786ef25e0a
Changes to get the navigation unit tests green again.
...
- Modified changePage() to set isPageTransitioning earlier.
- Modified pageSequence() to allow the current changepage callback stack to unwind before firing off the next function in the sequence.
2011-05-23 14:30:40 -07:00
John Bender
a2834bb367
removed two unnecessary tests from the navigation suite, and moved a few more over to the pageSequence helper.
2011-05-21 23:36:06 -07:00
John Bender
dc530ea751
page sequence helper added, nav tests in a somewhat better state. the event trigger spot, namespace, and general setup are all up for debate
2011-05-21 22:15:12 -07:00
Steven Black
f2ad4e5fe2
Per discussions last week about the removal of the experimental jQuery-ui Datepicker.
...
* docs/forms/index.html: Removed reference to the jQuery-UI Datepicker which is too heavy for mobile.
* experiments/ui-datepicker folder: deleted since it is no longer referenced.
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-21 22:06:39 -04:00
Kin Blas
2cfacc4804
Changes to get the navigation_core and navigation_helpers tests to pass again:
...
- Modified changePage() click test so that it expects changePage() to be called twice.
- Added changePage() test that makes sure it is called once when it is invoked with a page element instead of a URL.
- Added siteDirectory path to be used with some tests which assumed that the tests directory was at the top-level of the server site.
2011-05-20 15:32:17 -07:00
Kin Blas
5ba2cc975e
Inverted the logic around ignoreNextHashChange so that it actually matches the name of the variable.
...
Modified the hashchange callback so that it specifies a "none" transition, instead of a false boolean, for the case where the hash changed and there is nothing on the urlHistory stack.
2011-05-20 15:19:54 -07:00
John Bender
fe7ba3f6c6
jquery style compliance for nsNormalize
2011-05-20 12:32:08 -07:00
Todd Parker
115a7858b3
Merge pull request #1678 from eddiemonge/patch-1
...
Minified CSS was getting double info
2011-05-20 11:43:34 -07:00
Eddie Monge Jr.
9fce3e1f72
Minified CSS was getting double info
2011-05-20 11:36:28 -07:00
Todd Parker
ed3dc7092a
Merge pull request #1675 from cwt137/master
...
Fix for issue #1674 . Toolbar Theming Example Missing Button. Thanks cwt137
2011-05-20 10:41:32 -07:00
Kin Blas
3c792c58f0
Merge branch 'master' into navigation
...
Fixed Conflicts:
js/jquery.mobile.init.js
js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
John Bender
4c299a600b
moved nsNormalize from replace to jquery camelCase function
2011-05-20 09:20:15 -07:00
cwt137
2a5badd14d
Adds missing button in toolbar theming example. Fixes issue #1674
2011-05-20 06:27:52 -07:00
John Bender
ad6279dd8a
small optimization to prevent unnecessary recompilation of normalization regex
2011-05-20 01:09:39 -07:00
John Bender
3520e77dc4
comment for clarity on function purpose
2011-05-20 00:48:41 -07:00
John Bender
118599748b
comment whitespace
2011-05-20 00:43:53 -07:00
John Bender
15b93909f5
tests for nsNormalize
2011-05-20 00:42:11 -07:00
John Bender
7eb1085764
data attribute namespace normalization to comply with spec and jquery 1.6 changes
2011-05-20 00:31:27 -07:00
John Bender
2cff5c3380
whitespace in core tests
2011-05-20 00:30:05 -07:00
Ghislain Seguin
be94de1c18
Merge branch 'master' of https://github.com/jquery/jquery-mobile into issue-1654
2011-05-19 17:42:25 -07:00
Kin Blas
edc94fb6ec
The dialog "pop" unit test was failing because the active variable in changePage() was being dereferenced. The unit test clears the urlHistory.stack array manually so we just need to make sure we don't dereference active if it doesn't exist.
2011-05-19 17:01:26 -07:00
John Bender
6487eb684f
spaces to tabs in core
2011-05-19 15:36:22 -07:00
Ghislain Seguin
59a04d5a90
Fixed unit tests
2011-05-19 00:00:05 -07:00
Ghislain Seguin
4255f5752f
Fix for issue #1654
2011-05-18 23:46:46 -07:00
Kin Blas
59afbda49b
Added a pageContainer option to changePage and loadPage.
2011-05-18 18:06:15 -07:00
Todd Parker
75c7ba1447
Merge pull request #1661 from eddiemonge/makefile_deploy
...
Makefile: Updated the deploy script and added comments for the regular ma
2011-05-18 18:06:03 -07:00
eddiemonge
83fe2542a5
Makefile: Updated the deploy script and added comments for the regular make process so the user knows whats going on
2011-05-18 18:02:10 -07:00
Kin Blas
3a047112a0
Removed debug try/catch block I accidentally checked in.
...
Made lots of whitespace changes to bring file up to jquery core style guidelines.
2011-05-18 16:38:04 -07:00
Ghislain Seguin
bd068616c6
Fix for #1470
...
Corner styling issue with listview refresh on growing lists
2011-05-18 16:07:18 -07:00
Kin Blas
cafb6acef9
Separated changePage() into 2 functions:
...
- loadPage() now loads all pages into the DOM.
- changePage() only functions on pages that are in the DOM. If you call it with a URL instead of an element, it will call loadPage() which will then trigger a call to changePage() with the resulting page at a later time.
2011-05-18 15:58:15 -07:00
scottjehl
ae7d62a1bc
code style & repetition cleanup
2011-05-18 18:32:59 -04:00
Scott Jehl
24fff18186
Merge pull request #1656 from VTWoods/bug_1635
...
#1635 Collapsible not triggering resize event. Fixes #1635
2011-05-18 15:30:11 -07:00
scottjehl
10ce4a7c32
fixed some tests that failed in my last changes
2011-05-18 18:25:59 -04:00
vtwoods
5918e5ad9f
Moved the resize event into the fixed toolbar plugin.
2011-05-18 18:17:41 -04:00
scottjehl
e4336f38ae
changed the docs to represent the new auto back button default
2011-05-18 18:05:05 -04:00
scottjehl
fd0819f379
turned auto back button additions off by default. Fixes #1657 . To turn auto backbuttons on, you can set the page plugin's autoBackBtn option to true per page, or globally via its configuration prototype. You can also use the data-auto-back-btn attribute on a page div.
2011-05-18 17:17:13 -04:00
scottjehl
83652dd1d0
beta pre version
2011-05-18 16:57:14 -04:00
vtwoods
18c7d590ce
Merge branch 'master' of https://github.com/jquery/jquery-mobile into bug_1635
2011-05-18 16:20:21 -04:00
vtwoods
7022c19322
Fixed the bug where collapsing or expanding a collapsable did not cause a resize event to be triggered
2011-05-18 16:12:57 -04:00
Todd Parker
a562cb1199
Merge pull request #1652 from gnikibog/patch-1
...
Missing space in generated page markup. Thanks gnikibog!
2011-05-18 08:47:23 -07:00
gnikibog
1b49245489
Missing space in generated page markup
2011-05-18 07:02:06 -07:00
scottjehl
adf3808e84
Removed the dynamically-appended Meta tag, which was deprecated in Alpha 4, and scheduled for removal in beta. jQM users must provide their own meta viewport tag in the head of jQM apps.
2011-05-17 18:03:54 -04:00
scottjehl
04cb9c1850
followup to previous change, this time for dynamically appended meta viewport tags.
2011-05-17 17:30:13 -04:00
scottjehl
8ba4c27300
Ya'll can scale your pages now. Fixes #1645 . Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
2011-05-17 17:28:19 -04:00
Kin Blas
b96310eedf
- Externalize some of the nested functions in changePage().
...
- Modified changePage() so that it can take an options object. Updated all references throughout the framework.
- Split $.mobile.pageLoading() into 2 functions $.mobile.show/hidePageLoadingMsg(). Updated docs accordingly.
- Renamed $.mobile.defaultTransition to $.mobie.defaultPageTransition. Updated docs accordingly.
- Added $.mobile.defaultDialogTransition so that it isn't hard coded in the changePage/transitionPages and select code.
- Hand integrated jquery.mobile.navigation.js checkins from master: 4b4ee54a , e775f5e8 , e597ccb3 , 084bbbd8 .
2011-05-16 16:02:26 -07:00
Todd Parker
68142beba7
Merge pull request #1637 from gseguin/master
...
Removed double "-" in "data-" attributes
2011-05-16 08:53:27 -07:00
Ghislain Seguin
b0b24add1f
Removed double "-" in "data-" attributes
2011-05-16 08:43:02 -07:00
Todd Parker
27f1f9bbff
Merge pull request #1636 from gseguin/master
...
Added unit test for issue #1617 for nested lists with thumbnails. THanks gseguin.
2011-05-16 07:19:50 -07:00
Ghislain Seguin
df9d846bfc
Added unit test for issue #1617
2011-05-15 21:33:40 -07:00
Ghislain Seguin
cabdf7926b
Revert "Added unit test for issue #1617 "
...
This reverts commit 3c7c73e5ca .
2011-05-15 21:28:40 -07:00
Ghislain Seguin
3c7c73e5ca
Added unit test for issue #1617
2011-05-15 21:13:04 -07:00
Todd Parker
877651a7cd
Merge pull request #1631 from joshiabk/master
...
jQuery Search Textbox change to add new focus event which will show clear button when some item gets pasted directly without key event to search text box. Thanks joshiabk
2011-05-14 03:25:23 -07:00
Abhishek Joshi
cb645ede22
Add new focus event which will show cross button on search textbox when some item get paste directly without key event to search text box
2011-05-13 22:44:47 -07:00
Kin Blas
022f811dab
Merge pull request #1630 from eddiemonge/fr_timestamped
...
For all versions of make except for deploy, the outputted scripts will ha
2011-05-13 16:16:08 -07:00
eddiemonge
19c952a3bd
For all versions of make except for deploy, the outputted scripts will have the git info used for that build. Deploy will still use the version in the version.txt file
2011-05-13 16:01:31 -07:00
Kin Blas
690fff9409
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-05-13 15:27:50 -07:00
Kin Blas
7df38d9abf
Upgrade to jQuery 1.6.1 to pick up :checked fixes.
2011-05-13 15:27:09 -07:00
Todd Parker
47d9de4088
Merge pull request #1629 from eddiemonge/bug_updatecdn
...
Modify the nightly script to update the CDN.
2011-05-13 15:21:49 -07:00
eddiemonge
ea2ed9dc08
Update the CDN but dont output messages
2011-05-13 15:20:19 -07:00
Kin Blas
0d7754fe4c
Fixing listview filter tests that were broken by pull request 1475:
...
1387fd457f
2011-05-13 14:17:41 -07:00
Todd Parker
8d265f9281
Merge pull request #1627 from gseguin/master
...
Fixed #1419 : Fixed grouped radio buttons with long labels so they wrap to multiple lines. Thanks gseguin!
2011-05-13 12:57:14 -07:00
Ghislain Seguin
516c5aaa6c
Merge branch 'master' of github.com:gseguin/jquery-mobile
2011-05-13 10:54:42 -07:00
Ghislain Seguin
f929e90a70
Fixed #1419 : Grouped radio buttons with long labels don't ellipsis
2011-05-13 10:53:49 -07:00
toddparker
9426e82e29
Fixed the down state for theme d that was causing extra styles to be erroneously applied which make the list jump and look chunky when clicked.
2011-05-14 00:39:26 +08:00
toddparker
3d0064beb0
Fixed the down state for theme d that was causing extra styles to be erroneously applied which make the list jump and look chunky when clicked.
2011-05-13 10:51:27 -04:00
Todd Parker
9be1078935
Merge pull request #1602 from StevenBlack/SupportJsToStandard
...
jquery.mobile.support.js: Whitespace changes only. Bring code up to jQuery code standards. Thanks StevenBlack!
2011-05-12 11:34:21 -07:00
toddparker
a5960dea26
Closed missing </head> tag. Must have been a greedy find and replace that deleted this.
2011-05-12 11:09:59 -04:00
eddiemonge
9fb4da3c77
Modify the nightly script to update the CDN
2011-05-11 19:19:35 -07:00
Steven Black
f8516d4dbe
jquery.mobile.support.js: Whitespace changes only. Bring code up to jQuery coding standards in anticipation of adding Opera Mini feature detection. Passes jsHint except for the James Padolsey/ jdalton non-UA-based IE version check, which is OK. All tests pass.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-11 20:47:37 -04:00
scottjehl
f176f4a884
added margin back from media-helper based css.
2011-05-11 18:32:57 +02:00
scottjehl
28ef60afe2
added deprecated message for media helpers
2011-05-11 18:31:13 +02:00
scottjehl
3f94d4ff97
Moved our own widget css layout toggles over to using standard media queries, rather than the classes we apply to the HTML element to simulate media queries.
2011-05-11 18:00:44 +02:00
Todd Parker
b80689a1dc
Merge pull request #1522 from markandey/master
...
If 'input' element has id string with dots in it, code fails. Fixed by tweaking the regex to escape dots in the selector. Thanks markandy and eddiemonge
2011-05-10 12:12:19 -07:00
Kin Blas
4f4bb4d309
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-05-09 14:24:49 -07:00
Kin Blas
24fc06b234
Issue 1592 - Make sure we set lastval on create so we don't compare against the stirng "undefined" on first keyup/change event.
2011-05-09 14:23:06 -07:00
Todd Parker
03ef69d131
Merge pull request #1587 from ivrubanov/master
...
Fixed tests for checkboxes to pass under windows mobile 7. Thanks ivrubanov!
2011-05-09 14:18:46 -07:00
Todd Parker
084bbbd839
Merge pull request #1573 from marcoos/master
...
fix for issue 1530: Page title is changing when I use popup select menu (Dropdown). Thanks marcoos.
2011-05-09 13:03:02 -07:00
Kin Blas
1387fd457f
Merge branch 'filterspeed' of https://github.com/nsaleh/jquery-mobile into pull-1475
...
Resolved Conflicts:
js/jquery.mobile.navigation.js
- Removed these changes as they are not related.
2011-05-09 12:27:44 -07:00
Ivan Rubanov
af23fa6337
Fixed test for Windows Phone 7
2011-05-09 05:29:35 -07:00
Nabil Saleh
4ffb0a5f33
- code cleanup
...
- added class-based hiding
2011-05-09 13:25:13 +02:00
Kin Blas
e597ccb381
Fix for issue 1580 - phonegap: Pages with data-ajax="false" on form fail to load
...
In the $.ajax() callback, we look for elements with @href, @src, and @data-ajax="false" elements, the code then assumes that matching elements will have either @href or @src, which of course forms don't ... they have @action ... so the code throws an exception because thisUrl is undefined.
- I reworked the code to handle action and check to make sure we have an attribute and url string before attempting to use them.
2011-05-06 13:05:56 -07:00
Kin Blas
e775f5e83a
Fix for Issue 1578 - Can't load file:// pages
...
This was caused by this checkin:
4b4ee54a72
The change caused the base tag to be reset to file:// (literally with no path).
All that was missing was a small tweak to base.reset() to use the new initialPath variable instead of docBase.
2011-05-06 10:28:31 -07:00
scottjehl
4b4ee54a72
This change sets the base tag properly on page load and page changes, corresponding with the recent change to absolute path hash urls. Images and other assets will direct relative to the document in which they reside. This may not cover new path situations Kin has documented, but it does fix the regression so things work as they did before the change. Tested in non-base supporting browsers to verify it works there too. The following page should have an image in the content, verifying the fix http://jquerymobile.com/test/#/test/docs/about/intro.html . Fixes #1508
2011-05-06 09:37:41 -04:00
Marek Stepien
50ee33a84f
fix for issue 1530: Page title is changing when I use popup select menu ( Dropdown)
2011-05-05 23:26:41 +02:00
scottjehl
131cb2423f
updated to 1.6
2011-05-04 22:24:36 -04:00
Kin Blas
cff12a4b95
Merge pull request #1550 from MaxThrax/master.
...
Resolve issue #1514
2011-05-02 16:31:37 -07:00
Paul Nicholls
91126e4e85
Issue #1514 (Regex breaking Firefox >3.6)
...
Remove greedy matches from start and end of regex - there's no need for them, and they cause immense slowdown (on the order of 3-4 seconds on medium-size pages loaded via ajax).
2011-05-03 10:48:06 +12:00
Kin Blas
af3b8ce3ae
Merge pull request #1544 from StevenBlack/TransitionsToStandard.
...
Transitions to standard
2011-05-02 14:23:36 -07:00
Scott Jehl
fa152fa977
Merge pull request #1548 from edelabar/patch-1.
...
Fix for calendar widget creating multiple calendars in multi-page HTML
2011-05-02 08:35:26 -07:00
Eric DeLabar
ae8b1c45fc
The each callback in the pagecreate method was creating multiple calendars when used with a multi-page html file because it was not scoped to the current page but instead to the entire document.
2011-05-02 08:22:26 -07:00
mark.dawn@gmail.com
4bccf1d8a6
some string literal fixes
2011-05-02 13:30:36 +05:30
John Bender
91f5a3492b
added two more test conditions to ensure a single active button per radio button set and a single checked input
2011-05-02 01:00:04 -07:00
John Bender
cabd45283b
test to verify that clicking radio buttons changes checked state and ui btn active
2011-05-02 00:54:59 -07:00
John Bender
377c0067a7
remove checked state from radio button inputs that are not checked. use jquery attr accessor instead of expando to guarantee consistent values. Fixes #1532 .
2011-05-02 00:53:51 -07:00
John Bender
e84c2c614b
fixed comment in paths tests
2011-05-01 22:26:03 -07:00
Steven Black
b78c6ea372
jquery.mobile.transition.js: code to jQuery core standards, part deux.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-01 21:19:30 -04:00
Steven Black
2c444ef34d
jquery.mobile.transition.js: code to jQuery core standards.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-01 21:16:06 -04:00
John Bender
9096763741
finished basic pathing tests sans site relative root ir /
2011-04-29 22:23:57 -07:00
John Bender
a50912e0de
remove ie debug alert
2011-04-29 22:22:18 -07:00
Scott Jehl
d9e47627ed
Merged pull request #1533 from StevenBlack/NavigationToStandard.
...
jquery.mobile.navigation.js: Changes throughout the file for jQuery codin
2011-04-29 07:40:53 -07:00
Steven Black
520b8e22d4
More formatting changes to meet JQuery Core Style Guidelines.
...
)) -> ) )
...and others.
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-04-29 08:22:03 -04:00
Nabil Saleh
eefbdecf0a
further cleanup
2011-04-29 10:50:10 +02:00
Nabil Saleh
3339a272e5
code cleanup
2011-04-29 10:41:36 +02:00
Nabil Saleh
ca767ff3aa
code cleanup
2011-04-29 10:09:04 +02:00
Steven Black
7447ba01f7
jquery.mobile.navigation.js: Changes throughout the file for jQuery coding standards including:
...
* whitespace within parenthesis
* double quotes
* line breaking for object key assignments
Also made several changes suggested by jsHint.
All tests pass as before -- still failing first three tests as before.
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-04-28 21:12:01 -04:00
John Bender
39e3f1be95
Merged pull request #1494 from rs/master.
...
Fix an alert(false) on app init when $.mobile.loadingMessage is set to false
2011-04-28 15:03:31 -07:00
John Bender
ceea4bca66
remove ie debug alert
2011-04-28 15:02:59 -07:00
toddparker
51908bdaeb
Updated the radiobutton page to fix the sample code that showed two data-role attributes on a single element.
2011-04-28 17:29:37 -04:00
Todd Parker
0cccfda568
Merged pull request #1427 from mariozaizar/master.
...
Small typo in "Current browser support" link. Thanks mariozaizar!
2011-04-28 13:43:07 -07:00
Todd Parker
e3cc3f55dc
Merged pull request #1481 from cwt137/master.
...
Patch for bug #1480 . Thanks cwt137.
2011-04-28 13:11:57 -07:00
Bernhard Gschwantner
6da11e97b0
CHG: refinement as proposed by scottjehl
2011-04-28 22:09:02 +02:00
John Bender
9b88587426
completed doc relative tests
2011-04-27 23:07:58 -07:00
John Bender
84c1cfbcd8
first set of tests for path handling per Kin's wiki page
2011-04-27 22:43:41 -07:00
John Bender
31604bb75a
removed uncecessary clone for event names array to fix the tests
2011-04-27 22:04:00 -07:00
Todd Parker
c2e65107c0
Merged pull request #1503 from eddiemonge/eddie_listview.
...
micro-optimizations and styling changes to listview.js
2011-04-27 13:34:39 -07:00
mark.dawn@gmail.com
20fb94df98
Merge remote-tracking branch 'origin/master'
2011-04-27 23:50:51 +05:30
Kin Blas
9dc190f22e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-04-27 07:54:52 -07:00
scottjehl
7c8f8e9406
updated jQuery to 1.6 RC
2011-04-27 07:53:59 -07:00
scottjehl
026a7bc968
updated jQuery to 1.6 RC
2011-04-27 09:56:15 -04:00
Kin Blas
52a666d71f
Check $from before dereferencing it.
2011-04-26 16:36:31 -07:00
Kin Blas
19c06952fd
Changes to allow 3rd party transitions. Developers can now register a custom transition by adding their transition handler to the $.mobile.transitionHandlers dictionary. The name of the custom transition is used as the key within the transtionsHandlers dictionary, and should be the same name used within the @data-transtion attribute.
...
The expected prototype for a transitionHandler is as follows:
function handler(name, reverse, $to, $from)
The name parameter is the name of the transition as specified by @data-transition attribute, reverse is a boolean that is false for a normal transition, and true for a reverse transition. The $to param is a jQuery collection containing the page that is being transitioned "to", and $from is an optional collection that tells us what page we are transitioning "from". Because $from is optional, handler developers should take care and check $from to make sure it is not undefined before attempting to dereference it.
In addition to registering custom transition by name, developers can specify a handler to use in the case where a transition name is specified and does not exist within the $.mobile.transitionHanlders dictionary. Within jQuery Mobile, the default handler for unknown transition types is the $.mobile.css3Transition() handler. This handler always assumes that the transition name is to be used as a CSS class to be placed on the $to and $from elements. To change the default handler, simply set $.mobile.defaultTransitionHandler to you function handler:
$.mobile.defaultTransitionHandler = myTransitionHandler;
The changes to make all this necessary are as follows:
- Created $.mobile.noneTransitionHandler which is the default transitionHandler for the framework that simply adds and removes the page active class on the $from and $to pages with no animations.
- Moved class based transition code into a new plugin jquery.mobile.transition.js file. This plugin, when present, overrides the noneTransitionHandler as the defaultTranstionHandler for the framework so that CSS3 animation transitions are available.
- Removed code related to the setting/removal of the ui-mobile-viewport-perspective class. The css3TransitionHandler plugin takes care of automatically placing a "viewport-<transition name>" class on the viewport (body) element. This allows any other transition to specify properties on the viewport that are necessary to accomplish the transition.
- changed the CSS class ui-mobile-viewport-perspective to viewport-flip to match code changes. This makes it more apparent that setting -webkit-perspective is only used with the flip transition.
- Updated js/index.php, Makefile and build.xml to include the new jquery.mobile.transition.js file.
2011-04-26 14:06:10 -07:00
Kin Blas
14f73b27ee
Changes to allow 3rd party transitions. Developers can now register a custom transition by adding their transition handler to the $.mobile.transitionHandlers dictionary. The name of the custom transition is used as the key within the transtionsHandlers dictionary, and should be the same name used within the @data-transtion attribute.
...
The expected prototype for a transitionHandler is as follows:
function handler(name, reverse, $to, $from)
The name parameter is the name of the transition as specified by @data-transition attribute, reverse is a boolean that is false for a normal transition, and true for a reverse transition. The $to param is a jQuery collection containing the page that is being transitioned "to", and $from is an optional collection that tells us what page we are transitioning "from". Because $from is optional, handler developers should take care and check $from to make sure it is not undefined before attempting to dereference it.
In addition to registering custom transition by name, developers can specify a handler to use in the case where a transition name is specified and does not exist within the $.mobile.transitionHanlders dictionary. Within jQuery Mobile, the default handler for unknown transition types is the $.mobile.css3Transition() handler. This handler always assumes that the transition name is to be used as a CSS class to be placed on the $to and $from elements. To change the default handler, simply set $.mobile.defaultTransitionHandler to you function handler:
$.mobile.defaultTransitionHandler = myTransitionHandler;
The changes to make all this necessary are as follows:
- Created $.mobile.noneTransitionHandler which is the default transitionHandler for the framework that simply adds and removes the page active class on the $from and $to pages with no animations.
- Moved class based transition code into a new plugin jquery.mobile.transition.js file. This plugin, when present, overrides the noneTransitionHandler as the defaultTranstionHandler for the framework so that CSS3 animation transitions are available.
- Removed code related to the setting/removal of the ui-mobile-viewport-perspective class. The css3TransitionHandler plugin takes care of automatically placing a "viewport-<transition name>" class on the viewport (body) element. This allows any other transition to specify properties on the viewport that are necessary to accomplish the transition.
- changed the CSS class ui-mobile-viewport-perspective to viewport-flip to match code changes. This makes it more apparent that setting -webkit-perspective is only used with the flip transition.
- Updated js/index.php, Makefile and build.xml to include the new jquery.mobile.transition.js file.
2011-04-26 13:53:11 -07:00
mark.dawn@gmail.com
69a0a47a0c
XPATH Selector was not well formed of type label[for=ID]
...
let say id of an inputbox is x.y.z then query
$("label[for=x.y.z]") gonna fail
$("label[for=\"x.y.z\"]") gonna work
2011-04-26 19:31:43 +05:30
Kin Blas
3a164c6cc8
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-04-22 10:56:55 -07:00
Kin Blas
f7749504b8
Modified the vclick handler code in navgation.js so that it doesn't place the ui-btn-active class on any links meant for interactivity.
...
Removed the return false in the vclick handler of collapsible and replaced it with a preventDefault(). The only reason we were returning false was to stopPropagation() so that the vclick handler in navigation.js didn't place a ui-btn-active on it.
2011-04-22 10:53:24 -07:00
John Bender
dfab3d7920
increased two test timeouts to give slower ci test browser time work, also included a small whitespace fix to nav
2011-04-21 23:17:08 -07:00
John Bender
70a86c748f
added a sequenced test to make sure that opening a dialog sized select menu resulted in that same dialog many times. also moved one of the event tests over to core
2011-04-21 22:32:37 -07:00
John Bender
cf23361a19
added the single call to local function focus button to ensure menu height calculation is accurate Fixes #1453
2011-04-21 22:30:39 -07:00
Kin Blas
2d2e6d7741
Fix for issue 1461 - Tops of pages missing after dialog click in Safari and iPhone.
...
- Delayed the setting of focus till *AFTER* the scroll position is restored.
2011-04-21 15:31:21 -07:00
eddiemonge
279d71828a
left a test piece of code in previously
2011-04-21 14:40:58 -07:00
eddiemonge
d7bab1f9a5
micro-optimizations and styling changes to listview.js
2011-04-21 14:33:49 -07:00
Kin Blas
1ec80bdc80
I broke button states in my last checkin. I was passing in the wrong element (document) into the new function that finds the button element.
2011-04-21 10:56:04 -07:00
Olivier Poitrey
b4b80cd200
Fix an alert(false) when $.mobile.loadingMessage is false
2011-04-21 15:43:50 +02:00
Kin Blas
d4c7b5da66
Fix from @brukhabtu for issue 1492 - Errors when trying to delete DOM elements.
...
- Check for existence of the bindings object before attempting to use it. Apparently jQuery core strips off any data bindings of an element before calling teardown on it to remove special event handlers.
2011-04-20 18:06:21 -07:00
Nabil Saleh
b10c71814c
further performance optimization:
...
- hiding all elements at once
2011-04-20 17:31:57 +02:00
Bernhard Gschwantner
b2ff26b579
FIX: Problems with forms in nested listviews
2011-04-20 15:12:54 +02:00
John Bender
b0e3d5fbf1
select test cleanup, added test to check that the dialog hash key is removed when a large select menu item is clicked Fixes #1454
2011-04-19 23:28:11 -07:00
John Bender
16a38a61ea
fixed custom select dialog menu transition issues by preceding backward through history. This tightly couples the closing of custom select dialog menus to our hash change history implementation because of how it handles dialogs in dialogs.
2011-04-19 23:28:11 -07:00
John Bender
01c40c2525
select whitespace fixes
2011-04-19 23:28:11 -07:00
cwt137
357b87fab9
Corrects comment that was wrong. Changes "header" to "footer". Fixes bug #1480
2011-04-19 22:00:25 -07:00
Kin Blas
7d9af0b2a8
Fix for issue 1157 - Collapsible block prevents page scrolling on iPhone 4
...
- When we switched to virtual mouse events, I just did a straight translation of the code that existed which basically did the collapse/expand on mouseup. In order to factor in scrolling, I needed to move that code into a vclick handler and stopPropagation() and preventDefault() to make sure the button doesn't activate.
2011-04-19 16:57:13 -07:00
Nabil Saleh
9cb8673e68
data-filter performance optimization
...
- algorithmic optimization of listview.filter
- functional optimization by supporting data-filtertext attribute
includes patch from mathieucarbou: f58631d07d
2011-04-19 11:25:48 +02:00
John Bender
dbd68472b4
whitespace and comment fixes
2011-04-18 22:35:13 -07:00
John Bender
49b1b780ed
test alterations for absolute navigation
2011-04-18 21:46:53 -07:00
John Bender
8e42b52767
beginning to move to absolute hashes in all cases, still some more work to do
2011-04-18 21:46:53 -07:00
toddparker
3ec9069166
Merge remote branch 'origin/master'
2011-04-18 17:35:42 -07:00
toddparker
fb8ef84434
Fixed a typo, thanks Steven.
2011-04-18 17:35:27 -07:00
Kin Blas
c31ee33a0f
Fix for 1407 - Bad scroll performance since A4 on iPhone 3G
...
- Modified vmouse code so that it uses $.data() instead of $().data() which is significantly faster.
- Modified the navigation and buttonMarkup code so they stop using live(). The vmouse code triggers several events during the touch events, which in turn causes the underlying event code to call $.closest() with the selector used during the live() call to figure out if the event should be handled. This turns out to be very expensive, so instead, we now just bind directly to the document, and walk the DOM manually to figure out if we should handle it. This is much faster since we are avoid triggering multiple nested function calls.
2011-04-18 16:13:50 -07:00
toddparker
cdd8b745ca
Added documentation on the auto-updating title and data-attr in the anatomy of a page.
2011-04-18 14:51:48 -07:00
toddparker
188913012b
Merge remote branch 'origin/master'
2011-04-18 14:40:58 -07:00
Nabil Saleh
702e89f034
fix for Issue #1425
...
- active state was not removed from buttons when they where not used for pagenavigation
2011-04-18 15:01:31 +02:00
scottjehl
472cbb1778
moved calls into one. #cleaning
2011-04-17 14:24:47 -07:00
scottjehl
b649f17d9d
one call to $.type
2011-04-17 12:11:03 -07:00
Kin Blas
8c71ee5dff
Fix for issue 1458 - Listview thumbnails aren't rendering correctly.
...
Needed to modify _itemApply() to look for the first image that is the first child of its parent. I may need to tweak this at a later point because the selector is still too general.
2011-04-14 23:36:58 -07:00
John Bender
b83d81962e
tests for dialog query param support
2011-04-14 21:49:50 -07:00
John Bender
2242684e59
added support for query params with dialog hash keys
2011-04-14 21:49:50 -07:00
John Bender
a267a3077c
added tests to verify that dialogs referencing themselves with query params don't do anything
2011-04-14 21:49:50 -07:00
John Bender
59bd1400ad
check the url saved on the page element in the history stack to avoid checking agains the dialog nonsense url Fixes #1433
2011-04-14 21:49:50 -07:00
scottjehl
093d3b1a22
Merge remote branch 'origin/master'
2011-04-14 18:10:27 -04:00
scottjehl
af7451d5ff
switched to boolean check and removed the second value. Now this is only true in old webos, where it should be.
2011-04-14 18:10:22 -04:00
eddiemonge
f29f19ccaa
update compiler link in Makefile
2011-04-15 05:52:25 +08:00
scottjehl
14b4cc4a7e
updating compiler
2011-04-14 16:43:57 -04:00
scottjehl
d81751af67
Merge branch 'fr_1177' of https://github.com/eddiemonge/jquery-mobile into eddiemonge-fr_1177
2011-04-14 16:29:33 -04:00
scottjehl
d97a964884
been meaning to do this for a while.
2011-04-14 16:04:47 -04:00
eddiemonge
0bc9f7edab
blank commands are not so good.
2011-04-14 12:08:24 -07:00
eddiemonge
2f8cca7c26
change file permissions for git hooks
2011-04-14 12:01:27 -07:00
eddiemonge
77b164798a
Merge branch 'master' of github.com:eddiemonge/jquery-mobile into fr_1177
...
* 'master' of github.com:eddiemonge/jquery-mobile:
Fix for issue 1446 - Can't drag slider in 1.0a4.1 (Android 2.1)
Modified _createSubPages() to reduce the number of property lookups and function calls per iteration.
Fix for Issue 1424 - Adding items to listviews on a4.1 is too slow
made sure a couple of variables are locally scoped. Fixes #1403
moved previous strip query tests to tests for cleanHash
removed stripQuery helper to reduce confusion and complexity as striping the query param from a url is much more complex than a hash as it was originally intended for
tests for nested pages/query params
added handling for identical query param href/action on the same page
query param href/actions require absolute path prefixes when no relative path information is contained in the hash
tests for handling query params in makeAbsolute path helper, moved path helper tests to helper test file
handle relative query param links and forms Fixes #1160
removed duplicate current page check in favor of fixing the off by one bug
2011-04-14 11:54:15 -07:00
eddiemonge
4284d07508
add compiled and gitstatus.log to gitignore
2011-04-13 23:37:59 -07:00
Kin Blas
8ca008ee23
It doesn't get any true-er with an extra 'u'!
2011-04-13 18:09:41 -07:00
eddiemonge
80fc7a648a
change latest build to say that in the version
2011-04-13 17:09:52 -07:00
eddiemonge
2e9e8f203a
add scripts to manage git post hooks
2011-04-13 16:15:00 -07:00
Kin Blas
609d1de5f4
Fix for issue 1446 - Can't drag slider in 1.0a4.1 (Android 2.1)
...
- Don't bind and unbind our touch listeners dynamically. This gets Android 2.1 into a strange state where it stops dispatching touch events. Instead, we now register our touchmove, touchend and scroll listeners at the same time we register our permanent touchstart listener, we then block and unblock processing in our touch listeners via a flag.
2011-04-13 15:52:51 -07:00
eddiemonge
4f7c08140d
use a php script and a cron to make latest
2011-04-13 15:40:13 -07:00
eddiemonge
250fc190ba
use a log and a cron
2011-04-13 15:32:57 -07:00
eddiemonge
1882c7ab56
add post commit hook script to update git
2011-04-13 13:32:49 -07:00
eddiemonge
ca55d18e1b
makefile for lateset
2011-04-13 12:54:54 -07:00
eddiemonge
55d82f47ac
makefile reads jquery core version from the file
2011-04-13 11:01:25 -07:00
eddiemonge
a65ac5f268
change makefile to point to CDN
2011-04-13 10:47:21 -07:00
Kin Blas
212f9ed237
Modified _createSubPages() to reduce the number of property lookups and function calls per iteration.
2011-04-12 14:33:20 -07:00
Kin Blas
12c8c61e85
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-04-12 13:55:15 -07:00
Kin Blas
98dc036ff0
Fix for Issue 1424 - Adding items to listviews on a4.1 is too slow
...
- Some optimizations to speed things up:
- Modified _itemApply() to make use of item.children() and filters. Also got rid of some unused code.
- Convert .each() in refresh() to a loop.
- Cache some $list.jqmData() values so we don't do it for each list item.
2011-04-12 13:51:27 -07:00
scottjehl
c3fd9c1835
made sure a couple of variables are locally scoped. Fixes #1403
2011-04-12 15:11:14 -04:00
eddiemonge
5f487bbaec
add images to path, remove nightly folder before moving to there so it doesnt go into a sub folder
2011-04-12 12:00:05 -07:00
eddiemonge
2a4cdac4bd
change nightly to actual server path
2011-04-12 11:32:44 -07:00
eddiemonge
e4b2f3b98a
Change git pull to be just 'git pull'
2011-04-12 11:28:40 -07:00
John Bender
ac736c6053
moved previous strip query tests to tests for cleanHash
2011-04-12 01:16:20 -07:00
John Bender
aee4c631da
removed stripQuery helper to reduce confusion and complexity as striping the query param from a url is much more complex than a hash as it was originally intended for
2011-04-12 01:14:05 -07:00
John Bender
cdc0f139ce
tests for nested pages/query params
2011-04-12 01:05:36 -07:00
John Bender
a5add9a974
added handling for identical query param href/action on the same page
2011-04-12 00:58:24 -07:00
John Bender
8d3dc2cbc2
query param href/actions require absolute path prefixes when no relative path information is contained in the hash
2011-04-12 00:22:42 -07:00
John Bender
193762da19
tests for handling query params in makeAbsolute path helper, moved path helper tests to helper test file
2011-04-11 23:42:01 -07:00
John Bender
681f2a2073
handle relative query param links and forms Fixes #1160
2011-04-11 23:40:53 -07:00
John Bender
d6439d235f
removed duplicate current page check in favor of fixing the off by one bug
2011-04-11 22:59:51 -07:00
eddiemonge
96c1647e63
Changes so make can be run with just make nightly for the nightly builds
2011-04-11 18:18:19 -07:00
eddiemonge
38b8ee592a
Changed Makefile to include nightly build script and other misc fixes
2011-04-11 15:57:02 -07:00
Mario Zaizar
42b66038e7
Fixing a really small typo in "Current browser support" link at Alpha 4 post.
2011-04-11 13:42:33 -05:00
eddiemonge
60ea1ddbdc
Merge branch 'master' of https://github.com/jquery/jquery-mobile into fr_1177
...
* 'master' of https://github.com/jquery/jquery-mobile :
minor refactor from Scott's original suggestion on the issue
navigation whitespace
2011-04-11 10:44:54 -07:00
John Bender
09b736a399
minor refactor from Scott's original suggestion on the issue
2011-04-10 22:59:06 -07:00
John Bender
c5ba91f0b9
navigation whitespace
2011-04-10 22:58:21 -07:00
eddiemonge
dbdb6c5716
Merge branch 'master' of https://github.com/jquery/jquery-mobile into fr_1177
...
* 'master' of https://github.com/jquery/jquery-mobile :
[astounding] fixed css that locked ie in the navigation unit tests. tagged so I can show my kids some day
Fix for issues:
set version to 1.0a4.1
wrapped the else if/else in an else to prevent an unnecessary dom walk until we have to make it.
To ensure focus and scrollTo don't conflict (when possible), I set the focus order on page show to 1) previously clicked item if revisiting that page 2) page title 3) first focusable item in the page. Fixes #1342
2011-04-09 13:07:52 -07:00
John Bender
7d6ff25543
[astounding] fixed css that locked ie in the navigation unit tests. tagged so I can show my kids some day
2011-04-08 22:04:06 -07:00
Kin Blas
0ef954575a
Fix for issues:
...
1333 - Delay when scrolling over list when data-theme="d"
1368 - Listview refresh performance on a4
1407 - Bad scroll performance since A4 on iPhone 3G
Removed the checking for window.pageX/pageY in the vmouse touch callbacks. Accessing pageX/pageY causes the browser to flush its rendering queue.
2011-04-08 11:01:41 -07:00
toddparker
8447cc5f88
Merge remote branch 'origin/master'
2011-04-08 13:29:42 -04:00
scottjehl
5c1953f5cd
set version to 1.0a4.1
2011-04-07 16:55:05 -04:00
scottjehl
3da5f05f75
wrapped the else if/else in an else to prevent an unnecessary dom walk until we have to make it.
2011-04-07 16:50:10 -04:00
scottjehl
97f5a9565f
To ensure focus and scrollTo don't conflict (when possible), I set the focus order on page show to 1) previously clicked item if revisiting that page 2) page title 3) first focusable item in the page. Fixes #1342
2011-04-07 16:27:32 -04:00
eddiemonge
88221323da
Feature Request for issue 1177: Make Makefile output cleaner stuff
2011-04-07 12:39:38 -07:00
scottjehl
b4088b9422
don't add the class to a disabled button. Fixes the checkbox test
2011-04-07 15:34:17 -04:00
scottjehl
cd0ad522ba
moved the active state vclick to navigation
2011-04-07 15:28:52 -04:00
scottjehl
784f5974e5
make sure collapsibles don't have a sticky on-state.
2011-04-07 15:03:29 -04:00
scottjehl
982b7d4b15
Make navigation feel more responsive through feedback, even though it actually uses the click event again for actual page changes.
...
- set active state on all button vclick events
- cancelled vclick on slider switch handles so it's not too sticky.
- removed addClass in navigation.js as the first change handles it there.
2011-04-07 14:41:45 -04:00
scottjehl
9a1b2dcb3c
changed name of interal function loadComplete to pageChangeComplete
2011-04-07 11:33:04 -04:00
Ray Ling
31d45a76e2
append 'click' event listener for no-touch support device test.
2011-04-07 09:38:52 +08:00
John Bender
5158c6f7cb
comment correction in test
2011-04-06 13:33:32 -07:00
John Bender
ceed56fb2a
test added for checkbox check and uncheck firing change
2011-04-06 13:31:06 -07:00
Martin Kou
4dc2560895
Fixed yet another duplicate tap event bug.
2011-04-06 23:39:41 +08:00
toddparker
d22b0a9f61
Merge remote branch 'origin/master'
2011-04-06 09:59:48 -04:00
John Bender
141127b903
fixed scoping issue that was causing the checkbox check to fail, tests to follow Fixes #1328
2011-04-05 23:47:34 -07:00
Kin Blas
c7aadd8a47
Fix for issue 1379 - vmouseclick or vclick?
...
- Changed typo "vmouseclick" to "vclick".
2011-04-05 15:57:37 -07:00
toddparker
eec2ae3ac4
Removed all the design assets to speed things up
2011-04-05 15:04:08 -04:00
Kin Blas
d591be56e2
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-04-05 10:24:01 -07:00
Kin Blas
600a43f746
Fix for ssue 1369 - vmouseup event has no [client/page/screen][X/Y] properties on iOS devices
...
- Modified createVirtualEvent to use changedTouches if touches doesn't exist.
- Also filed issue 1373 about the fact that we really need to be tracking touch identifiers in the vmouse code.
2011-04-05 10:21:54 -07:00
toddparker
164d40b711
Set loader z-index to 100 so it sits over sliders. Fixes #1371
2011-04-05 12:20:54 -04:00
toddparker
77d7c08316
Removed placeholder A4 banner graphic.
2011-04-05 11:41:42 -04:00
John Bender
b1da5f0d06
added tests to make sure links that reference the pages they are defined within don't transition Fixes #1360
2011-04-04 23:47:16 -07:00
John Bender
05cc415f0c
fix for current page links
2011-04-04 23:41:05 -07:00
toddparker
97db437373
Removed duplicate text shadow rule
2011-04-04 22:31:14 -04:00
Kin Blas
d43bbfc52a
Switch back to hijacking links on the click event. We'll focus on improving "percieved" visual performance since launching a page load and transitions on vclick opens us up to too many problems:
...
- Third party click handlers never called.
- Touch and click target mismatches due markup changes before the click events are generated. (What looks like a double click event)
2011-04-04 10:00:24 -07:00
John Bender
5c37beaa29
activeElement conditional for windows support Fixes #1294
2011-04-02 00:03:37 -07:00
John Bender
280394757b
fixed titles in the checkbox radio tests
2011-04-01 23:43:59 -07:00
John Bender
4bea7c41b8
fixed broken open page call to prevent redirect in tests
2011-04-01 22:55:55 -07:00
John Bender
9280fb467f
whitespace in listview tests
2011-04-01 22:55:55 -07:00
Kin Blas
58369ec943
Added missing comma in var declaration.
2011-04-01 14:05:46 -07:00
Kin Blas
8cd0d2c679
I'm not sure how this happened, but the dataType fix for Issue 991 disappeared between commits 61005944 and 7503f62a.
...
Adding it back in to fix Issue 1349 - File urls still not working in alpha 4 as shipped.
2011-04-01 13:37:18 -07:00
scottjehl
bb7b09f2a1
documented theme css namespace caveat. Fixes #1341
2011-04-01 14:58:36 -04:00
scottjehl
cb34aa2169
typo
2011-04-01 12:28:28 -04:00
scottjehl
39f904091f
updated version to 1.0beta-pre
2011-04-01 12:01:24 -04:00
John Bender
3a85ef61ac
removed global pre test setup that used QUnit.start :(, and fixed spurious test failures from changePage being fired by the library after it had been redefined in the tests
2011-04-01 02:11:15 -07:00
John Bender
f2525b06de
moved attribute call to jqmData call
2011-04-01 02:09:05 -07:00
John Bender
fad90ca99a
navigation white space
2011-04-01 01:48:38 -07:00
John Bender
74d13ee034
whitespace in mobile core
2011-03-31 23:39:09 -07:00
John Bender
f63b1bf911
moved page title tests to sequence to stabalize their behavior
2011-03-31 22:47:40 -07:00
John Bender
89775d233a
whitespace in navigation core tests and fixtures page
2011-03-31 22:18:54 -07:00
scottjehl
198cb1420d
updated some a3 links. DOH!
2011-03-31 19:08:45 -04:00
John Resig
93cf7e407c
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-03-31 18:42:47 -04:00
John Resig
40d32c8ca8
Releasing jQuery Mobile 1.0a4.
2011-03-31 18:42:30 -04:00
toddparker
0fd3a0b9bf
Updated banner to A4!
2011-03-31 18:39:36 -04:00
toddparker
db3a57975b
Updated to A4 and 1.5.2
2011-03-31 18:38:34 -04:00
toddparker
66ba363895
Fixed broken links
2011-03-31 18:36:39 -04:00
toddparker
37a54cb2b0
Removed outdated phone link styles
2011-03-31 18:35:48 -04:00
scottjehl
1f1a13b49e
removed the API viewer demo. old
2011-03-31 18:23:29 -04:00
scottjehl
7d04d3eb37
updated to jQuery 1.5.2
2011-03-31 18:09:46 -04:00
scottjehl
96897b0285
listview tests now passing.
2011-03-31 18:07:08 -04:00
scottjehl
9826bf7b4b
removed and edited some tests that no longer apply to listviews
2011-03-31 17:51:07 -04:00
scottjehl
cbd1e4cb4c
Merge remote branch 'origin/master'
2011-03-31 17:49:15 -04:00
scottjehl
ec8a9cfed4
Merge remote branch 'origin/master'
2011-03-31 17:40:16 -04:00
scottjehl
125a80e518
edits to listview demos
2011-03-31 17:40:07 -04:00
Kin Blas
7e8c4c70e0
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-03-31 14:40:05 -07:00
John Bender
bb7ab45a19
small whitespace fix, removed the data-rel=back from two buttons in the docs as it takes precendence over the href
2011-03-31 14:39:34 -07:00
Kin Blas
ae06612eca
Clear our preventClickDefault and stopClickPropagation locals in the live click handler.
2011-03-31 14:39:11 -07:00
scottjehl
1a49fb9445
edited demo pages for listviews
2011-03-31 17:34:31 -04:00
scottjehl
799cee85bc
fixed bug in CSS counter in readonly lists
2011-03-31 17:34:16 -04:00
scottjehl
4839d82e54
removed class we weren't using
2011-03-31 17:31:16 -04:00
scottjehl
f241a858b5
fixed ordered lists in readonly OL listviews. Fixes #1144
2011-03-31 17:24:09 -04:00
scottjehl
19400af5f6
removed navigation-specific list keyboard handling and ARIA out of listview and over to select, which is the only place it's used. Lists are also now much friendlier to readonly markup - so forms and all of the formatted content previously supported in navigation-based listviews now work without an anchor wrapper.
2011-03-31 17:06:20 -04:00
scottjehl
57649cd066
moved the listview a11y handling to just selectmenu custom menus, since that's the only place it's now relevant
2011-03-31 16:44:25 -04:00
Kin Blas
3c69215ed6
Temporary workaround to keep 3rd party onclick handlers functioning. This stuff really needs to be done within the vmouse plugin.
2011-03-31 12:38:36 -07:00
scottjehl
776e23ee95
simplified test, but in general, the nav test suite feels brittle. Maybe because of our usage of async tests. Anyway, I was able to get all tests to pass once.
2011-03-31 13:38:49 -04:00
scottjehl
07d20d9991
Merge remote branch 'origin/master'
2011-03-31 13:20:44 -04:00
scottjehl
ae6c2d569f
fixed a duplicate check for using markup for page titles when title isn't present.
2011-03-31 13:20:19 -04:00
scottjehl
b18756eceb
fixed the last breaking pages unit test
2011-03-31 13:19:51 -04:00
scottjehl
854885e93d
move the pageTitle setter to different function
2011-03-31 12:56:48 -04:00
scottjehl
91109ebbd0
better page titles
2011-03-31 12:56:47 -04:00
scottjehl
d8aac11a4f
merging unit test addtions for page titles
2011-03-31 12:56:30 -04:00
scottjehl
ac7188e449
merging changes from page-titles branch in regards to a conflict with addNew function arguments
2011-03-31 12:48:46 -04:00
Kin Blas
16bea21a1c
Corrected grammar for a comment in my previous checkin.
2011-03-31 09:33:05 -07:00
Kin Blas
0927ddfe3e
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-03-31 09:22:55 -07:00
Kin Blas
3ce228e3f2
On touch devices, 3rd party code that used href='#' links and onclick handlers weren't working because our live("vclick") link handler in jquery.mobile.navigation.js was calling preventDefault() on the vclick event.
...
For vclicks dispatched via touchend, calling preventDefault causes mouse clicks to be suppressed. This is why the 3rd party onclick handlers weren't getting triggered. For vclicks dispatched by a real mouse click this isn't a problem.
The fix basically removes the preventDefault() call from the live("vclick") handler and places it in a real live("click") handler. This allows the mouse event to get dispatched and trigger 3rd party click handlers, and still call preventDefault to prevent the link from being followed.
2011-03-31 09:19:05 -07:00
scottjehl
612192011b
adjusted change event handling to fire change event on the selected radio, as Dave suggested, and which matches the native triggering. Also, checkboxes change events appear consistent with native implementation. Fixes #1206
2011-03-31 00:22:26 -04:00
scottjehl
506d5050b1
Merge remote branch 'origin/master'
2011-03-30 23:52:41 -04:00
scottjehl
77b25a46ea
docs typo. Fixes #1150
2011-03-30 23:52:36 -04:00
toddparker
bfb713ce04
Merge remote branch 'origin/master'
2011-03-30 23:41:42 -04:00
toddparker
7ae63cb6cd
Updated grid documentation to explain that we're using additional classes an styles, just for illustraiton purposes.
2011-03-30 23:41:29 -04:00
scottjehl
6bac3f81e5
Merge remote branch 'origin/master'
2011-03-30 23:28:58 -04:00
scottjehl
51c79481fc
documented hashListeningEnabled. Fixes #1091
2011-03-30 23:28:53 -04:00
toddparker
faf0d6a581
Merge remote branch 'origin/master'
2011-03-30 23:15:43 -04:00
toddparker
43ea8df112
Fixed missing hyphens in listview theming data- attribues and re-coded some mangled list code examples. Everything is working right again. Closes #992
2011-03-30 23:15:27 -04:00
scottjehl
b77e04e7c4
Merge remote branch 'origin/master'
2011-03-30 22:53:55 -04:00
scottjehl
5d93d53090
removed the cdn hotlinks - local is best for testing. Also added a link to test Bender's new fix - works fantastic.
2011-03-30 22:53:46 -04:00
toddparker
e9e7a78e99
Fixed a minor grammatical error in the pages docs.
2011-03-30 22:31:18 -04:00
scottjehl
cdccf8f2af
updated the fastclick comment
2011-03-30 21:32:38 -04:00
scottjehl
93ddf9d984
Syntax fix with data-ajax attr - also making sure [target] is included in the external link check, and that the pathname is removed properly in IE before prefixing.
2011-03-30 21:17:52 -04:00
scottjehl
a017576da9
Merge remote branch 'origin/master'
2011-03-30 20:52:20 -04:00
scottjehl
e38a25de58
make sure the sticky footer matching is only true if data-ids are specified. This makes "tap" work again when toggling fixed headers and footers.
2011-03-30 20:52:13 -04:00
Kin Blas
14fbe8b164
Fix for issue 1316 - URL is not properly formed in Firefox
...
- Checking in scottjehl's suggested selector for the non dynamicBaseTag support case.
2011-03-30 16:15:24 -07:00
Kin Blas
2d83b8d373
Adding jquery.mobile.vmouse.js to the list of files.
2011-03-30 08:38:27 -07:00
Kin Blas
6fa5002c7e
Added jquery.mobile.vmouse.js to the build Makefile.
2011-03-30 08:04:45 -07:00
John Bender
6d37ad6bbb
added addtional test to cover issue 1305
2011-03-30 01:08:15 -07:00
John Bender
215aded824
fixed path detection for when linking from embedded pages to file paths Fixes #1305
2011-03-30 01:08:15 -07:00
John Bender
32f1264491
corrected poor async start order
2011-03-30 01:08:15 -07:00
John Bender
3a758f97fa
navigation whitespace
2011-03-30 01:08:15 -07:00
scottjehl
27b4cd29fc
improved the fixed headers and footers so they show and hide more appropriately, even when starting a scroll on an anchor element. Fixes #1309
2011-03-29 19:09:19 -04:00
Kin Blas
f80d286ecb
Fixing tap/taphold tests that broke when fastclick/vmouse changes landed.
2011-03-29 12:01:58 -07:00
Kin Blas
62f8ce254e
Bullet proof handleTouchStart() against fake touchstart events that don't have any touches[] properties defined.
2011-03-29 09:46:10 -07:00
Kin Blas
9e40d14b28
Fixing unit test bustage. The fastclick branch landed so these tests need to be updated to fire off "click" versus "touchend" or "mouesup".
2011-03-29 09:32:10 -07:00
Kin Blas
1f2c7fd537
Merge branch 'master' into fastclick
...
Resolved Conflicts:
js/jquery.mobile.navbar.js
2011-03-29 09:03:05 -07:00
scottjehl
80f81ca6fa
improved sticky footers a little bit. Now they don't fade after becoming sticky, but they stick well at least.
2011-03-28 20:35:17 -04:00
scottjehl
15ef91c828
Merge remote branch 'origin/master'
2011-03-28 18:31:00 -04:00
scottjehl
8fa56b6e85
Got the sticky footers working again. Markup change noted in first page of demo. Fixes #850
2011-03-28 18:30:55 -04:00
toddparker
cf5676992d
Fixed toolbar demo page, added a sample form and updated list markup to new style
2011-03-28 16:43:40 -04:00
scottjehl
bb9921a9f4
Merge remote branch 'origin/master'
...
Conflicts:
docs/pages/docs-link-scenarios.html
2011-03-28 16:37:58 -04:00
toddparker
72f4b4a0ca
Fixed link markup on this page.
2011-03-28 16:33:29 -04:00
scottjehl
1a2a85773b
fixed a bad path
2011-03-28 16:07:19 -04:00
scottjehl
bc005fe18d
page isn't in use. covered by link-formats.html
2011-03-28 16:07:09 -04:00
scottjehl
3b9a90ee4a
fixed underline on button down state
2011-03-28 15:55:37 -04:00
toddparker
50717094ad
Removed section on non-ajax dialogs, not supported yet.
2011-03-28 15:42:53 -04:00
John Bender
7b4842eabc
test for dialogs within dialogs
2011-03-28 00:41:33 -07:00
John Bender
97783bdbd1
added page tracking to history stack and handling for dialog to dialog transitions in hashchange
2011-03-28 00:41:33 -07:00
jblas@adobe.com
0a063c6d67
Get rid of "moved" tracking in the label event bindings. This is all handled transparently by the virtual mouse event code.
2011-03-27 21:20:06 -07:00
jblas@adobe.com
729cda075a
Merge branch 'master' into fastclick
...
Resolved Conflicts:
js/jquery.mobile.buttonMarkup.js
js/jquery.mobile.event.js
js/jquery.mobile.forms.checkboxradio.js
js/jquery.mobile.forms.select.js
js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
scottjehl
ee02a76279
self-submitting form demo.
2011-03-27 18:51:59 -04:00
scottjehl
4f4718731f
Incorporating mariozaizar's changes to add a backBtnTheme option (null by default) to the page plugin. A few edits were needed to support namespacing and a proper null default so theme inheritance is the default.
2011-03-27 18:29:45 -04:00
scottjehl
b0eb2bd053
Fixed up nested listviews so that any markup that comes before the child list will be used for complex formatting in the list item node. Text nodes that are direct children of the LI still work fine as well. Fixes #585
2011-03-27 16:18:24 -04:00
scottjehl
4011cf684e
added a bigger select example to the demo
2011-03-27 15:56:48 -04:00
scottjehl
15a052134f
moved overflow hidden w/ ellips to inner anchor fixing a small listview CSS regression.
2011-03-27 14:19:00 -04:00
scottjehl
ef1b0d94ae
added the $.mobile.listview.prototype.options.closeBtnText option for configuring the text of dialog back/close buttons. This also Fixes #1227 (or at least a note within that already-closed issue). Documentation included.
2011-03-27 14:10:16 -04:00
scottjehl
315c594572
Added "filterPlaceholder" option to allow configuring filter listview placeholder text. Documented here: jquerymobile.com/test/#docs/lists/docs-lists.html. Fixes #1227
2011-03-27 14:01:59 -04:00
scottjehl
56fd116236
make sure change event is fired on native select element when custom menu triggers a new selected item. Fixes #1109
2011-03-27 13:45:19 -04:00
scottjehl
58c0d1d1fb
no longer needed, as anchors now fill the LI and have no click handling applied.
2011-03-27 13:35:27 -04:00
scottjehl
f4e5492b9e
make sure close button on small multi-select menus still works. Fixes #1293
2011-03-27 13:21:16 -04:00
scottjehl
aab6cf4012
Fixed an issue where custom selects within dialogs always opened full-screen and not as overlays. Fixes #1277 . Note: this change removes code that stated Firefox had trouble with getting outerHeight on a hidden page, but I found that no longer to be true, so I'm assuming this was fixed in Core.
2011-03-27 13:15:06 -04:00
scottjehl
732a11089b
make sure page backgrounds and general page height fills the height of the browser, particularly with dialogs. Fixes #1033
2011-03-27 12:53:22 -04:00
scottjehl
d66cd439f0
removed a console log
2011-03-27 12:46:51 -04:00
scottjehl
241500a422
quick sample page for testing selects in dialogs
2011-03-27 12:38:33 -04:00
scottjehl
c50158c837
Just comments, code order, and whitespace, but also confirming: This Fixes #1171 , where a page loading error prevents future page loads from working.
...
Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html
2011-03-27 12:27:50 -04:00
scottjehl
450099213b
fixed up the unit test for fieldcontain with namespacing and similar JS links in head.
2011-03-27 12:01:36 -04:00
BradBroulik
1f5259a7ee
Added code coverage for fieldcontain module.
2011-03-27 23:54:24 +08:00
scottjehl
4a45d8d96b
Added pageLoadErrorMessage option. Defaults to "Error Loading Page". Documentation included. Fixes #1258 and Fixes #363
2011-03-27 11:45:03 -04:00
scottjehl
97d30aa47f
Merge remote branch 'origin/master'
2011-03-27 02:24:38 -04:00
scottjehl
1f703625c1
css fix for split button icons. This concludes the listview markup refactor, which allows us to remove many previous workarounds that dealt with anchor elements not filling the whole list dimension (and requiring us to trigger clicks and mimic default anchor clicking when not using Ajax... ). That was bad. This is good. Fixes #652 and Fixes #596 .
2011-03-27 02:21:02 -04:00
John Bender
73a39ab7ec
fixed poorly chosen selector in test and moved generated anchor markup into hidden page
2011-03-27 02:07:31 -04:00
scottjehl
07333e3482
moved padding to anchor rather than inner div
2011-03-27 01:59:55 -04:00
scottjehl
368b875a02
delegated clicks on anchors don't seem to cause the same visual problems in WinMo7 that they did when click events were bound to LIs. Removing workaround then!
2011-03-27 01:59:36 -04:00
scottjehl
baa37e94b5
markup fixes
2011-03-27 01:47:58 -04:00
John Bender
1bd3617543
fixed poorly chosen selector in test and moved generated anchor markup into hidden page
2011-03-26 22:32:28 -07:00
scottjehl
bbfb91b45a
markup fix
2011-03-27 01:21:53 -04:00
scottjehl
8397afba8c
markup fix
2011-03-27 01:16:17 -04:00
scottjehl
b2f4f06f7d
make sure inner button gets corner rounding as well in listviews. Fixes a regression from earlier.
2011-03-27 01:14:46 -04:00
scottjehl
fd5b3210e4
used :hidden selector instead
2011-03-27 00:48:30 -04:00
scottjehl
0780e40a69
straightened out some failing tests so they match the new markup conventions
2011-03-26 23:47:14 -04:00
scottjehl
a0ebb5223b
find first image child of LI or of firstchild anchor
2011-03-26 23:46:47 -04:00
scottjehl
a496bc3bb7
used data-rel to find back buttons
2011-03-26 22:34:36 -04:00
scottjehl
bed18f1bc9
updated to latest, adjusted first test to click the anchor
2011-03-26 22:33:33 -04:00
scottjehl
c66efa3c17
updated to latest, adjusted 2nd test to click the anchor
2011-03-26 22:33:06 -04:00
scottjehl
de21e9e628
trigger click on the link instead
2011-03-26 21:31:14 -04:00
scottjehl
9a4663073d
removed default click simulator now that listviews no longer tricker clicks.
2011-03-26 21:29:24 -04:00
scottjehl
f8e406dd7f
more markup cleanup to support the new hierarchy
2011-03-26 21:29:24 -04:00
scottjehl
6cd2e9164a
removed delegated LI click handling. Native anchors will provide
2011-03-26 21:29:24 -04:00
scottjehl
84b55548d3
more updates to the listview markup, styles and scripts to allow wrapped anchors
2011-03-26 21:29:24 -04:00
scottjehl
72fe3a2c21
initial markup changes
2011-03-26 21:29:24 -04:00
John Bender
6965d4d24c
removed console from test helper
2011-03-26 17:29:58 -07:00
John Bender
c3854fe8ca
added simple helper to rerun qunit tests
2011-03-26 17:27:33 -07:00
John Bender
0c59d527c3
fix for listview blank page, ui widget sets the data using the non namespaced fn. needs further consideration
2011-03-26 16:20:12 -07:00
scottjehl
665e87dd5b
make sure an undefined prop stays undefined
2011-03-26 17:48:21 -04:00
scottjehl
fcbbb58de2
Merge remote branch 'origin/master'
2011-03-26 17:36:56 -04:00
scottjehl
fe3d0b537b
updated to use new data method
2011-03-26 16:32:16 -04:00
scottjehl
0ebab16a9a
updated to use new data method
2011-03-26 16:31:55 -04:00
scottjehl
b950f1c319
changed to just call dialog close method
2011-03-26 15:01:25 -04:00
scottjehl
8880ceb431
jqm coding style
2011-03-26 14:17:19 -04:00
scottjehl
1aafea83aa
semicolon
2011-03-26 14:16:08 -04:00
scottjehl
e8cee23744
major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well.
2011-03-26 14:14:02 -04:00
scottjehl
963840a3b0
moved some selectors over to :jqmData()
2011-03-26 10:18:32 -04:00
scottjehl
491d4a6873
moved some selectors over to :jqmData()
2011-03-26 10:15:27 -04:00
scottjehl
2add396bb2
moved some selectors over to :jqmData()
2011-03-26 10:14:48 -04:00
scottjehl
f78e7b0a6a
moved to :jqmData selector
2011-03-26 10:12:16 -04:00
scottjehl
d59ba5a31a
moved a couple of concats over to :jqmData() selector
2011-03-26 10:09:52 -04:00
scottjehl
8a3b846e95
documented the new jqmData method and :jqmData selector.
2011-03-26 09:11:42 -04:00
scottjehl
9fc1f9828b
fixed docs for the default namespace (blank string)
2011-03-26 08:39:12 -04:00
John Bender
caedd81cfd
give swipe event triggers a 100ms buffer to allow for async sequences
2011-03-26 00:48:41 -07:00
John Bender
c7ed33cfeb
increase swipe check timout to allow for test browser speed
2011-03-25 23:59:57 -07:00
Kin Blas
004860c209
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-03-25 23:47:32 -07:00
John Bender
62a8a4039a
stabilized event tests a bit more
2011-03-25 23:45:22 -07:00
Kin Blas
90e167a4f6
Some "page" data calls were accidentally switched to jqmData(). The widget code actually uses data() so we need to make sure we match.
...
A couple of data() to jqmData() changes were missed.
2011-03-25 23:44:02 -07:00
John Bender
bf5d09cf9c
small fixs for linux chrome tests
2011-03-25 22:55:25 -07:00
John Bender
6089618431
readded fix to return jquery wrapped object from animation complete in both branches
2011-03-25 22:35:19 -07:00
John Bender
bb721aa48c
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-03-25 21:38:06 -07:00
John Bender
14f43ace9b
fix for select tests after default to native
2011-03-25 21:37:45 -07:00
Kin Blas
d32a8a6bb4
Fixed some jslint warnings. It caught a missing comma that would've broken the file during a minify. < whew! >
2011-03-25 21:26:10 -07:00
Kin Blas
d62864b7de
Add dummy mouse/click handlers on bind elements so that they remain clickable on Opera Mini.
2011-03-25 20:35:24 -07:00
toddparker
07be08c4b4
Inproved select docs and added optgroup and disabled option for native menus
2011-03-25 22:42:11 -04:00
John Bender
4fe0b29a0f
Merge branch 'data-namespacing'
2011-03-25 18:46:00 -07:00
John Bender
0ed68525ed
fixed array comparison tests to test single element
2011-03-25 18:40:55 -07:00
John Bender
143fd264d2
fixed mobile init bind firing in another test
2011-03-25 18:27:35 -07:00
Kin Blas
aa58b2a7e6
Added back blocking based on ancestry. Looks like we need to block on both proximity and ancestry to work around touch and mouse target differences.
2011-03-25 18:00:58 -07:00
scottjehl
fc4f8d24eb
trigger click on the link instead
2011-03-25 19:35:07 -04:00
scottjehl
f7d04750c5
removed default click simulator now that listviews no longer tricker clicks.
2011-03-25 19:35:07 -04:00
scottjehl
ec3d6d6489
more markup cleanup to support the new hierarchy
2011-03-25 19:35:07 -04:00
scottjehl
d5eb6531da
removed delegated LI click handling. Native anchors will provide
2011-03-25 19:35:07 -04:00
scottjehl
83ba9f7782
more updates to the listview markup, styles and scripts to allow wrapped anchors
2011-03-25 19:35:07 -04:00
scottjehl
f85956251d
initial markup changes
2011-03-25 19:35:07 -04:00
scottjehl
497344c618
used mobile.ns in the test
2011-03-25 18:21:10 -04:00
scottjehl
7503f62a10
changed our two new custom data helper names to jqmData() and :jqmData()
2011-03-25 17:50:40 -04:00
scottjehl
5fa733b0eb
Merge remote branch 'origin/master'
2011-03-25 17:35:53 -04:00
scottjehl
2d6653c1d5
improved the icons at regular and retina resolutions. added check and radio to the sprite; fewer requests ftw. Fixes #844
2011-03-25 17:35:45 -04:00
toddparker
86db2a77a1
Cretaed Alpha 4 version banner for docs homepage so we're ready to go. Need to rename this to "version.png" when we flip the switch.
2011-03-25 15:14:20 -04:00
toddparker
430a25884e
Higher bit depth versions.
2011-03-25 13:19:37 -04:00
toddparker
31d246f685
Updated sprites to add alpha transparency
2011-03-25 13:11:08 -04:00
toddparker
509082efd1
Updated supported browser page to include WP7 and say alpha 4.
2011-03-25 13:07:27 -04:00
toddparker
649824a40e
Few language tweaks.
2011-03-25 13:01:35 -04:00
toddparker
ea074d1ef1
Set the global default for select menus to use the native instead of custom. Updated the docs and examples to match.
2011-03-25 12:44:46 -04:00
toddparker
8f9250ecff
Merge remote branch 'origin/master'
2011-03-25 11:48:00 -04:00
toddparker
c771c36e9e
New check + radio images - now a single sprite and with retina support
2011-03-25 11:47:45 -04:00
Kin Blas
d06ff28bf6
Re-introduced the concept of blocking the mouse handlers from firing trigger. It was needed to fix select menus. Everytime you would click a select button, the click event was being intercepted by whatever select item appeared at the point of tap which set the value of the select.
2011-03-24 14:57:51 -07:00
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
scottjehl
b9d0349975
Merge remote branch 'origin/master'
2011-03-15 18:23:31 -04:00
scottjehl
4e13021a53
fixed bug where clicking back twice after opening a dialog select was causing the main page to hide. history.back was being called twice in some cases when clicking the custom close button. Fixes #1007
2011-03-15 18:23:24 -04:00
John Resig
42c1271963
Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace.
2011-03-15 15:08:02 -04:00
John Resig
6138a57e67
Revert "Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace."
...
This reverts commit da24d27796 .
2011-03-15 15:05:22 -04:00
John Resig
da24d27796
Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace.
2011-03-15 15:00:20 -04:00
scottjehl
83e7aeb4a5
when the select's options don't match the list item options, it should be rebuilt. Fixes #1240
2011-03-15 12:00:39 -04:00
John Bender
b56626fba1
added type attribute regex tests for the different ways that browsers serialize html
2011-03-14 23:50:20 -07:00
John Bender
cd654a4eae
moved page unit tests back under anon function
2011-03-14 23:50:20 -07:00
John Bender
a987adb610
altered type attribute regex per @jblas, moved to 'private' prototype attribute for testing
2011-03-14 23:50:20 -07:00
scottjehl
3275baf64c
added demo pages for inset filter lists
2011-03-15 00:08:01 -04:00
scottjehl
12616b310f
didn't need the == true test.
2011-03-15 00:07:48 -04:00
hakanson
d16c46a6e9
format search filter for inset lists
2011-03-15 12:05:47 +08:00
scottjehl
6aa7db5fb5
changed the secondary icon color class name to ui-icon-alt instead of ui-icon-black. This will be best when creating custom themes that might use slightly different icon colors.
2011-03-14 23:55:41 -04:00
scottjehl
71ac285d4b
Merge remote branch 'origin/master'
2011-03-14 23:47:25 -04:00
scottjehl
bd4e4a7eeb
updated the retina sprite targeting to specifically apply to the icons in the sprite, and nothing broader. Credit for this commit goes to Adam Messinger (@adammessinger). Thanks Adam!
2011-03-14 23:47:16 -04:00
adammessinger
2bfdd02a51
Fix for issue #900 : buttons with rel attribute set to external don't show active state
2011-03-15 11:30:19 +08:00
scottjehl
7f48419a29
This adds a fallback for navbars that have one item, so they simply fill 100%. Credit for this fix and idea goes to kennedyr (Richard Kennedy), but we changed the naming around a bit. Fixes #1107 . Thanks Richard!
2011-03-14 20:26:20 -04:00
Dave Hulbert
11965092bb
Fix for #1017 - Listview - remove hover/focus on read-only items
2011-03-15 07:52:11 +08:00
Phil Barnes
b740854ae7
Pass null event param for page _trigger beforehide and beforeshow -- Fixes issue #700
2011-03-15 07:41:32 +08:00
scottjehl
ddcacc1482
changed from ternary to ||
2011-03-14 19:34:16 -04:00
scottjehl
330f866143
Merge branch 'bug_733' of https://github.com/eddiemonge/jquery-mobile into eddiemonge-bug_733
2011-03-14 19:31:15 -04:00
ray58750034
a4dc5888d0
add gridlayout test
2011-03-15 07:27:11 +08:00
ray58750034
50c2df122e
set min-height of ui-block-* class, so the grid layout still work even some block doesn't contain any content.
2011-03-15 07:27:11 +08:00
scottjehl
6bcfd6f8d8
Merge branch 'bug/1151' of https://github.com/dave1010/jquery-mobile into dave1010-bug/1151
2011-03-14 18:49:57 -04:00
scottjehl
dedb54d15f
set native select with custom button to opacity 0 instead of 0.0001. Note: I thought it was 0.0001 for a reason, but this checks out fine in WP7, WebOS, Android,iOS, Chrome, Safari, Firefox 4, Firefox 3.6, Opera Desktop & Mobile, IE 7
...
IE 8, IE 9, Blackberry 6. Sooo... that covers it. Fixes #1216
2011-03-14 18:44:31 -04:00
Kin Blas
562d89b762
Changes to reduce the number of times we traverse the parent hierarchy looking for virtual bindings when each event handler is called.
2011-03-14 14:25:25 -07:00
Kin Blas
9a431c89a5
Added $.support.eventCapture to detect support for listening for the event capture phase. We need this to disable vmouse touch support for WP7. We may be able to work around the lack of capture support in the near future, but until then, we fallback to just supporting mouse events.
2011-03-14 12:39:03 -07:00
Kin Blas
dbcf4d0373
Merge branch 'master' into fastclick
2011-03-14 11:38:00 -07:00
John Bender
84ac4ebbb2
fixed input type regex for ff. It puts the type attribute at the end of the html string and breaks the trailing space. Checked in ie7
2011-03-14 08:22:44 -07:00
John Bender
8943287c75
Revert "fixed failing slider tests in firefox by adding data-type to type=range inputs"
...
This reverts commit 6ca79aceb4 .
2011-03-14 08:22:44 -07:00
scottjehl
faa01256fa
Grouped buttons had extra margins. Fixes #1231
2011-03-14 11:13:47 -04:00
scottjehl
1457942367
Merge remote branch 'origin/master'
2011-03-14 08:29:32 -04:00
scottjehl
2b7a2669ac
fixed a var typo. Thanks @mschroeder.
2011-03-14 08:29:17 -04:00
John Bender
6ca79aceb4
fixed failing slider tests in firefox by adding data-type to type=range inputs
2011-03-13 23:40:03 -07:00
John Bender
c629e34e74
fix for broken init test and some whitespace
2011-03-13 23:09:32 -07:00
scottjehl
fc0cd38c4e
improved test for meta injects
2011-03-14 00:20:26 -04:00
scottjehl
f69c98caf0
gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match
2011-03-14 00:20:26 -04:00
scottjehl
d08ff23765
fixed up path.clean test so it passes
2011-03-14 00:20:26 -04:00
scottjehl
4c199a5ce6
added unit test for IE version check in Mobile ( doesn't use UA detection like jQuery Core's)
2011-03-14 00:20:26 -04:00
scottjehl
b2ea5e99e5
added comment about missing meta tag
2011-03-14 00:20:26 -04:00
scottjehl
f6a2bd46ec
added a unit test for checking if meta viewport tag is not appended if one already exists.
2011-03-14 00:20:26 -04:00
scottjehl
b2222388d7
updated to latest
2011-03-14 00:20:26 -04:00
scottjehl
6ecb99c936
typo in selector for finding meta[viewport] element
2011-03-14 00:20:26 -04:00
scottjehl
3014ab785d
fixed the flip switch in Windows Phone 7. Z indexes needed tweaking to accommodate IE.
2011-03-14 00:20:25 -04:00
scottjehl
d3a170db09
moved the IE test to support.js, added a workaround to the listview refresh method to prevent default on mousedown, which makes the tap highlight color look right in Windows Phone 7. Without this workaround, it still works fine, but the entire listview is highlighted when an LI is clicked.
2011-03-14 00:20:25 -04:00
scottjehl
4596769b5e
fixed up the dimensions and opacity for nativeMenu selects so they work in Windows Phone and IE
2011-03-14 00:20:25 -04:00
scottjehl
4c42be503d
tabindex shouldn't be -1 on nativemenu button
2011-03-14 00:20:25 -04:00
scottjehl
3ffe86bc21
fixed form button appearance in Windows Phone 7 and IE
2011-03-14 00:20:25 -04:00
scottjehl
c1f6057773
switched from inline-block to inline on the divs to get grouped Checkboxes and Radios to stack horizontally in Windows Phone.
2011-03-14 00:20:25 -04:00
scottjehl
7aab355ffb
some fixes to make checks and radios work in Windows Phone 7. The labels were not being found through the selector, but finding all labels and then using the filter method seemed to work fine. Other than that, this push includes a little DRY cleanup here and there.
2011-03-14 00:20:24 -04:00
scottjehl
c4685ac14f
replace the current path in the url when checking if it's a null # href. This ensures # hrefs won't follow default behavior in IE / Win Phone.
2011-03-14 00:20:24 -04:00
scottjehl
793d03b2e6
adjusted input element replacement regexp to account for non-quoted type attributes when replacing markup. This change lets things work properly in IE, so plugins like the slider now get enhanced.
2011-03-14 00:20:24 -04:00
scottjehl
60d75f008c
fixed Ajax navigation in Windows Phone 7. Since all urls are absolute in IE, we need to check if the href has a protocol up front, and if so, later on, make sure we don't prefix it with a base path because it doesn't need one.
2011-03-14 00:20:24 -04:00
scottjehl
8cb9923055
gradeA test was missed in the update. back in now, with IE 6+ enabled.
2011-03-14 00:20:24 -04:00
scottjehl
aa31e01d63
updated to latest core js, with deprecation note
2011-03-14 00:20:24 -04:00
scottjehl
5b1f586cdb
added meta back. This is now deprecated for A4 in favor of putting the viewport meta directly in the markup.
2011-03-14 00:20:24 -04:00
scottjehl
bd1f9e1249
changing overflow to visible makes list items stack properly in IE7. This rule was only there for clearfix, so either value should be fine. Tested in iOS/iPad to make sure this did not re-introduce the icon positioning bug. Removed unnecessary zoom as well.
2011-03-14 00:20:24 -04:00
scottjehl
05c48f2c3e
moved the CSS shorthand around for a better rgba fallback in IE
2011-03-14 00:20:24 -04:00
scottjehl
dcbe844f5c
brought back meta definition. This is now deprecated in A4
2011-03-14 00:20:23 -04:00
scottjehl
b38113950f
only inject meta if there isn't already one there. Deprecating support for injected meta in A4. Will likely remove completely at beta.
2011-03-14 00:20:23 -04:00
scottjehl
dfe7cf6593
Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags.
2011-03-14 00:20:23 -04:00
scottjehl
0d9627d54e
Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags.
2011-03-14 00:20:23 -04:00
scottjehl
1370d5a48e
add IE version check to gradeA qualifier.
2011-03-14 00:20:22 -04:00
scottjehl
2879014fb5
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-03-14 00:19:58 -04:00
toddparker
9e29410d0a
Added documentation to explain how to use the refresh method on many form elements when you manipulate them. This will hopefully help a lot of people who were confused by this!
2011-03-13 22:16:13 -04:00
scottjehl
043293fd74
Merge remote branch 'origin/master'
2011-03-13 21:59:57 -04:00
scottjehl
0f9eb85240
removed a TODO about changing the changePage function's arg structure. We can revisit this again if it ends up causing problems, but for now, it's not hurting anything and people are already using it. Fixes #1152
2011-03-13 21:59:51 -04:00
toddparker
061fbc4a72
Fixed country names next to flags. Apologies to Norway, Finland and Sweden! Fixes #1156 .
2011-03-13 21:58:37 -04:00
scottjehl
80e72addde
Merge remote branch 'origin/master'
2011-03-13 17:21:45 -04:00
John Bender
b4bc09e3b3
clarification and whitespace fix
2011-03-12 23:02:11 -08:00
John Bender
a6b14b9cab
indentation in select open
2011-03-12 22:58:21 -08:00
John Bender
bc70fedb20
select whitespace cleanup
2011-03-12 22:56:36 -08:00
John Bender
648be47a07
reset location hash in select menu tests
2011-03-12 22:55:48 -08:00
John Bender
e2e8d24b79
Merge branch '1036' of https://github.com/chrsMon/jquery-mobile into chrsMon-1036
2011-03-12 22:52:53 -08:00
John Bender
e3000e2dec
added failing test for on screen custom select menu rendering
2011-03-12 22:52:44 -08:00
John Bender
129b586666
tests for url root in params / path.clean Fixes #1039
2011-03-12 14:37:45 -08:00
John Bender
1911dba7d7
small refactor for clean
2011-03-12 14:37:45 -08:00
John Bender
f555a27e34
fix for protocol and host included as params in path.clean
2011-03-12 14:37:45 -08:00
toddparker
183ec771d2
Fixed -msfilter: css rules to use the correct ms-filter: syntax. Not an issue with valencia, only the default theme. Closes #1020
2011-03-12 16:24:48 -05:00
John Bender
8cac1c5777
word boundy added back with proper escape sequence
2011-03-12 12:05:07 -08:00
scottjehl
b1e421f6b6
Merge remote branch 'origin/master'
2011-03-12 11:54:16 -05:00
John Bender
ccea5be445
removed console log
2011-03-12 00:29:26 -08:00
John Bender
94ade0f86e
fixed failing data-url regex, bizarri difference in behaviour with Regex objects and literals
2011-03-12 00:10:40 -08:00
John Bender
a33f777952
fixed core unit tests for ns
2011-03-11 22:50:26 -08:00
Kin Blas
b0a667ae44
Fixed typo in my last checkin for converting tap to virtual mouse events. It was preventing tap from actually firing so things like the cancel button link in a search textfield was being followed.
2011-03-11 16:12:58 -08:00
Kin Blas
b00d05b81c
Merge branch 'master' into fastclick
2011-03-11 10:33:11 -08:00
Kin Blas
2de7cc5bbc
Added vmousecancel to the vevents list so that users can bind to the event.
2011-03-11 10:30:16 -08:00
Dave Hulbert
47b26d9628
Whitespace. Again.
2011-03-10 10:16:42 +00:00
Dave Hulbert
1926787393
Whitespace
2011-03-10 10:11:40 +00:00
Dave Hulbert
fec673dec1
Fix for regular text inputs. Props scottjehl.
2011-03-10 09:39:02 +00:00
John Bender
0aaab77e2b
test for forward button dialog skipping
2011-03-10 00:13:53 -08:00
John Bender
a2747915c5
corrected issue with setting forward and back values for changepage closure
2011-03-09 23:27:59 -08:00
John Bender
8803bee3bb
fixed zero index bug for directHashChange
2011-03-09 22:55:07 -08:00
John Bender
224c0a90ca
removed unnecessary variables in hashchange callback
2011-03-09 22:55:07 -08:00
John Bender
150f0f6c17
moved global hashchange disable check above dialog check
2011-03-09 22:55:06 -08:00
John Bender
c9416a09a7
moved urlHistory refs to this where possible
2011-03-09 22:55:06 -08:00
John Bender
1ad0769862
refactored determining of back or forward and added callbacks for both cases
2011-03-09 22:55:06 -08:00
John Bender
6e64ccf308
moved dialog skipping to the hashchange callback, needs a refactor
2011-03-09 22:53:38 -08:00
scottjehl
ea60207c1b
changed custom data method to $.fn.mobileData() and updated plugins that use it.
2011-03-09 23:27:21 -05:00
scottjehl
0bf5ce8a37
set unit test pages namespace to "nstest-"
2011-03-09 23:16:48 -05:00
scottjehl
e46da87031
namespaced the selectors
2011-03-09 22:41:59 -05:00
scottjehl
50655de35c
test description change
2011-03-09 22:41:03 -05:00
scottjehl
6418772901
just test description changes
2011-03-09 22:40:49 -05:00
scottjehl
b80d221765
killed the namespace
2011-03-09 22:40:25 -05:00
scottjehl
19f5fd7cae
changed the default namespace to "" and updated the docs/demos as such
2011-03-09 22:36:14 -05:00
scottjehl
1e01856f5d
updated to use namespace
2011-03-09 21:34:03 -05:00
scottjehl
be0634efb8
fixed typo in class
2011-03-09 21:30:22 -05:00
scottjehl
a74c0c6280
updated init with namespacing
2011-03-09 21:29:07 -05:00
scottjehl
3cae8f8bf0
caught a few more
2011-03-09 21:03:40 -05:00
scottjehl
77ac0f009a
a few more non-namespaced attrs to bring over
2011-03-09 21:03:40 -05:00
scottjehl
bc0f1e02f3
better var names
2011-03-09 21:03:40 -05:00
scottjehl
aa0228d5b8
updated doc
2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752
updated docs with jq namespace, found some more stragglers
2011-03-09 21:03:40 -05:00
scottjehl
237db243dd
updated the experiments dir to use data-jq namespaces
2011-03-09 20:59:28 -05:00
scottjehl
d183cc591f
applied data-jq- namespacing to all data attributes in docs
2011-03-09 20:53:02 -05:00
scottjehl
cee4c617ba
first pass at extending data() to either return a) if no arguments, return non-namespaced versions of any namespaced properties in the data hash, or b) if getting a data property, try getting the namespaced version if the first is undefined. If it's defined, return that instead
2011-03-09 20:49:43 -05:00
scottjehl
c7fe048016
updated to use namespaced data attrs
2011-03-09 20:49:42 -05:00
scottjehl
2e7ee89ec3
updated attr lookups to use namespace
2011-03-09 20:49:42 -05:00
scottjehl
ce34ece257
namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS
2011-03-09 20:47:44 -05:00
scottjehl
62043a8a2e
Merge branch 'master' of github.com:jquery/jquery-mobile
2011-03-09 20:34:54 -05:00
Kin Blas
d612edd126
Fix for Issue 1195 - base href getting incorrectly set to include extra "/"
...
- Added code to base.set() that strips any leading slash from the path returned from path.get().
2011-03-09 17:23:36 -08:00
Kin Blas
6ca8b9f700
Merge branch 'master' into fastclick
2011-03-09 14:25:58 -08:00
Kin Blas
d2594ec585
Reworked tap/taphold code so that it makes use of vmousecancel to detect when the user has scrolled the page. Also refactored some of the event handler calling code into a function. I'm still not sure why the handler is called directly versus using the jQuery trigger() method which would allow bubbling.
2011-03-09 14:14:53 -08:00
Kin Blas
8dd766dbce
Removed experimental setting of the ui-btn-active class on button down. This breaks feedback on checkboxes and radios.
2011-03-09 14:13:26 -08:00
Kin Blas
6414e35cee
Convert checkbox/radio and navbar over to virtual mouse events.
2011-03-09 12:37:20 -08:00
Kin Blas
2381bfdeef
Remove the ui-btn-down and active class on vmousecancel instead of vmousemove.
2011-03-09 12:35:59 -08:00
toddparker
9bd530b1fa
Added a new demo page showing how adding data-role="none" to form elements and buttons will show the default, native control. Added link to this page from the forms index.
...
Good news - the data-role="none" attribute seems to work great, no issues found.
2011-03-09 15:35:45 -05:00
Kin Blas
ea77d0370d
Fix for issue 1207 - Can't revisit the same page after visitin it, hitting the back button and clicking its link
...
- This was a regression introduced by 20dce2ce . Added check for undefined newActiveIndex so we can tell the difference between the URL not being found, and a zero index.
2011-03-08 10:56:36 -08:00
Kin Blas
96a308cc6b
Merge branch 'master' into fastclick
2011-03-08 09:10:07 -08:00
Kin Blas
79c1b1fb69
Convert dialog and button over to using vclick.
2011-03-08 08:52:17 -08:00
Kin Blas
c85a9c3d00
Fix for issue 1198.
...
- Added the mobile namespace to the pageContainer reference. I think we may have missed this during the sweep when we added the mobile namespace.
2011-03-07 09:27:57 -08:00
scottjehl
644749b004
Merge remote branch 'origin/master'
2011-03-05 13:30:59 -05:00
John Bender
5fd1e70218
test for data-rel back and dialog fix
2011-03-04 23:34:54 -08:00
ahallerblu
291bb306dd
find the next entry in the urlstack that isn't a dialog Fixes #1061
2011-03-04 23:34:12 -08:00
John Bender
3b21481cee
small simplification of core scrolling tests
2011-03-04 22:25:33 -08:00
John Bender
ea85b5a46f
whitespace in init
2011-03-04 22:25:33 -08:00
John Bender
a4a8d859ca
small refactor of core to unify call to extend
2011-03-04 22:25:33 -08:00
scottjehl
5403981434
Merge remote branch 'origin/master'
2011-03-04 16:28:07 -05:00
scottjehl
4c8453a15a
updated to 1.5.1 from the RC
2011-03-04 16:28:01 -05:00
Dave Hulbert
b4ecf585b2
Fix for #1151 - Form elements aren't full width. Needs testing.
2011-03-04 11:49:03 +00:00
scottjehl
0f3c4efdaa
updated version to a4pre
2011-03-04 00:09:37 -05:00
John Bender
433384e150
altered tests to represent init change and added two for the load message customization Fixes #1178
2011-03-03 18:08:47 -08:00
John Bender
608b39ed39
moved loading message after init to account for customization
2011-03-03 18:06:07 -08:00
eddiemonge
2cb7ff0814
Issue: 733; Defaults form submits to GET method when method is not defined to prevent crashing Android's default browser
2011-03-03 17:45:34 -08:00
Mark Bennett
670dde6221
Add missing quote
2011-03-02 13:53:49 -07:00
Kin Blas
dded1be380
Merge branch 'master' into fastclick
2011-03-01 15:45:49 -08:00
Kin Blas
ca3026a341
Switch collapsible over from click to vclick.
2011-03-01 14:07:11 -08:00
Kin Blas
48ab0ec7d6
Prevent inputs and buttons of type="button" from getting the submit click handler added to them.
2011-03-01 14:04:48 -08:00
Kin Blas
b8c73e2599
Merge branch 'master' into fastclick
2011-02-28 09:41:40 -08:00
Martin Kou
df21c701b5
Fixed animationComplete return value bug.
2011-02-27 22:07:34 -08:00
John Bender
09f5719865
moved checkbox tests under immediate function and simplified fixture html
2011-02-27 00:00:14 -08:00
John Bender
58b16a94b6
small refactor to disable check for checkbox radio
2011-02-26 23:59:17 -08:00
Martin Kou
2bb94172cf
Fixed checkboxradio disable issue.
2011-02-26 23:55:37 -08:00
John Bender
2abdbf3416
white space in the init core test
2011-02-26 23:29:14 -08:00
John Bender
b246fb48fa
tests for data url init default
2011-02-26 23:27:41 -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
598668a2a1
removed spurious file
2011-02-26 01:15:04 -08:00
John Bender
86eceb03fc
added two helpers and tests for proper url stack history traversal
2011-02-25 23:24:03 -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
3f627acba8
- Added support for a vmouseevent that is triggered when a touch results in the window scrolling.
...
- Modified the button markup behavior so that it uses the virtual mouse events and adds the ui-btn-active class on vmousedown, and then removes it on vmousemove or vmouseup.
2011-02-25 22:20:04 -08:00
Kin Blas
730dae0fc1
Merge branch 'master' into fastclick
2011-02-25 20:41:09 -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
37d22dd105
fixed multiple date picker caused by unscoped selector, thanks to Matt Rosenquist. Fixes #972
2011-02-24 23:05:06 -08:00
John Bender
0691c2284b
date picker ui whitepspace
2011-02-24 22:54:17 -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
Kin Blas
16fe54e3d3
Merge branch 'master' into fastclick
2011-02-24 16:18:14 -08:00
Ernesto Jiménez
eb53dd8f93
Extra testcase to avoid breaking the search filter with dividers expected behaviour in future refactorings
2011-02-24 12:20:21 +00:00
John Bender
338e5cb96a
movied variables in listview filter to camel case convention used elsewhere
2011-02-24 00:07:27 -08:00
John Bender
1b32fdde63
fixed failing tests and removed test interdependency
2011-02-24 00:02:00 -08:00
Kin Blas
ec01fd9df9
Merge branch 'master' into fastclick
2011-02-23 23:58:02 -08:00
Kin Blas
3cb884b6d7
Added scrollThreshold and checks for page[XY]Offset changes within handleTouchMove to catch the case where the window scrolls, but the scroll events are not dispatched till after touchend. Note that page[XY]Offset is not updated before touchend on every platform, but it does seem to update on iOS which is where we need it.
2011-02-23 23:53:17 -08:00
Ernesto Jiménez
dae3e2fa74
Proper support for lists with search filter and dividers
2011-02-23 17:42:47 +00:00
Jim Hoskins
cbd890daa6
Changed <ul> to <ol> in html content formattic doc
2011-02-23 01:27:12 +08:00
Jim Hoskins
1b588fa76d
Updated grammatical errors in docs
...
Changed "an" to "a" where appropriate
2011-02-23 01:27:12 +08:00
Kin Blas
6d7bce63b6
Merge branch 'master' into fastclick
2011-02-22 08:57:28 -08:00
John Bender
62bd20adb9
fixed build.xml css order Fixes #1075
2011-02-21 08:55:16 -08:00
Martin Kou
796c8642bd
Fixed a typo in checkboxradio which causes JS errors.
2011-02-20 18:32:02 -08:00
John Bender
aacb0751be
fixed build.xml to match js/index.php and the Makefile
2011-02-20 18:23:31 -08:00
John Bender
421dc352c0
corrected js test includes and simplified to prevent further breakages
2011-02-20 18:07:17 -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
Kin Blas
de0f12f164
Merge branch 'master' into fastclick
2011-02-18 18:05:38 -08:00
Kin Blas
48389d1ee1
Fixed bad variable name in teardown method of jquery.mobile.vmouse.js. It was causing an error that made one() bindings fail to fire off their handlers.
...
Modified select and slider code to use virtual events.
Modified tap and taphold code to make use of the virtual events.
2011-02-18 17:39:04 -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
Kin Blas
c063e1ce65
Changed "click" bindings to "vclick" for listview and anchors.
2011-02-18 12:40:30 -08:00
Kin Blas
807be39d83
Added jquery.mobile.vmouse.js to the list of scripts to include.
2011-02-18 12:38:51 -08:00
Kin Blas
815c8c3631
Moved experiments/fast-click/jquery.mobile.mouse.js to js/jquery.mobile.vmouse.js.
2011-02-18 12:37:02 -08:00
Kin Blas
981ec95d60
Merge branch 'master' into fastclick
2011-02-18 12:32:38 -08:00
scottjehl
670ec15661
switched collapsibles over to tap event. Fixes #1056
2011-02-18 12:43:34 -05:00
Kin Blas
dfdb4850b2
Fixed an infinite loop problem when using $().parent() to crawl up the hierarchy.
2011-02-18 08:51:36 -08:00
Kin Blas
f7d576b1b5
Slight re-write of code to allow for the use of bind(), delegate(), and live().
2011-02-17 13:53:53 -08:00
Kin Blas
0850558a31
Merge branch 'master' into fastclick
2011-02-17 13:51:02 -08:00
Ashley Streb
767c35c629
Updating docs to specify that the default transition for dialogs is 'pop'
2011-02-16 22:52:44 -08:00
John Bender
709d12e4d6
resolved conflict for default dialog transition to pop
2011-02-16 22:52:14 -08:00
John Bender
47a98f09c8
test for thumb styling with listview('refresh')
2011-02-16 22:35:48 -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
8ea018147c
removed old test pages for navigation and one unneeded test
2011-02-15 23:01:22 -08:00
John Bender
bec975ad3a
added tests for data url regexs
2011-02-15 22:59:54 -08: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
tschaub
899e9581e9
P free hamster.
2011-02-16 05:55:21 +08:00
Kin Blas
b2ca132fb9
Merge branch 'master' into fastclick
2011-02-15 13:47:04 -08:00
Kin Blas
dc0608d244
- Fixed some jslint warnings.
...
- Fixed "event" typo in the mouse click cancel callback.
2011-02-15 10:20:21 -08:00
John Bender
b1c8621309
small tweak to wait for page load in navigation tests
2011-02-14 23:34:48 -08:00
John Bender
05e7bbac45
fixed broken listview test in chrome and dialog test redirect
2011-02-14 23:19:56 -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
chrsMon
bbee2fdb2b
Fixes issue #1036 partially offscreen rendering of select menu
...
https://github.com/jquery/jquery-mobile/issues/issue/1036
The css styles the select menu with a width of 80% with a max-width of
350px. This fix checks if width of select menu is less than max-width.
If that is the case the select menu is centered on screen. If not it
checks if the rigth or left side of the select menu are outside the
viewport and if so moves the select menu inside the viewport with a 30px
tolerance.
2011-02-13 21:11:53 +01:00
Kin Blas
d40868370a
Removed obsolete file jquery.mobile.click.js.
2011-02-11 15:07:23 -08:00
Kin Blas
4acba083f2
Merge branch 'master' into fastclick
2011-02-11 15:04:41 -08:00
Kin Blas
6ebf6b78f6
Added support for a click block list.
2011-02-11 15:03:36 -08:00
John Bender
265f6d9ca8
switch instances of ok to same for test failure clarity
2011-02-10 23:24:49 -08:00
John Bender
743c6c9d9c
fixed broken listview test and added a bunch of semicolons
2011-02-10 23:01:30 -08:00
Michael O'Hearn
554bb1e7e3
fixed a typo
2011-02-10 22:04:15 -08:00
Kin Blas
b5d417a9bb
Added a reset timer for unblocking the mouse event handlers. This was necessary because Blackberry does not dispatch a touchend event if the touch resulted in a scroll of the page.
2011-02-10 17:10:39 -08:00
Kin Blas
9968c02351
Checkpoint checkin.
...
- Added support for dispatching virtual events from touch based events.
- Now we copy over the x/y values from original events on to the virtual ones.
- We still need to figure out how to cancel the mouse events that fire after the touchend, and do some clean up in the cases where a scroll happens which prevents some mouse/touch events from being generated, like on Blackberry OS 6.
2011-02-10 14:04:21 -08:00
Kin Blas
518f2175f1
Initial checkin of jquery.mobile.mouse.js. This version doesn't handle touch events yet.
2011-02-09 23:57:29 -08:00
Kin Blas
c8c5830e09
Merge branch 'master' into fastclick
2011-02-09 23:51:49 -08: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
2a1935caf5
Revert "added autoInitialize documentation"
...
This reverts commit 7da26e1974 .
2011-02-07 08:11:57 -08:00
John Bender
089f2b9753
rewrapped the media core tests in an immediate function
2011-02-06 23:25:03 -08:00
John Bender
65513add72
fixed media core failing tests
2011-02-06 23:24:09 -08:00
John Bender
5d7938cb4e
minor indentation issue and mocking to fix test failures
2011-02-06 23:06:33 -08:00
John Bender
d4fd6d06dc
rewrapped event core tests in immediate function
2011-02-06 22:58:25 -08:00
John Bender
487e04af02
removed useless test in for dialogs added simple replacement
2011-02-06 22:55:29 -08:00
John Bender
099dfbd610
Merge branch 'master' of https://github.com/TrippingTheBits/jquery-mobile into TrippingTheBits-master
2011-02-06 21:44:35 -08:00
John Bender
a025c0bffc
backed out autoInitialize moving to feature request backlog
2011-02-06 21:18:51 -08:00
John Bender
cbd1eb7ac9
moved page and dialog styling to qunit css to remove repition and make sure that its consistent across pages
2011-02-05 21:22:50 -08:00
Ryan
ee56af59af
Added data-dividertheme to docs.
2011-02-05 20:08:23 -05:00
Alex Kovar
910c4d43f0
fixed small display glitch on navigation tests
2011-02-05 14:39:11 -06: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
fb9c7d03b3
Merge remote branch 'origin/master'
2011-02-04 12:45:34 -05:00
scottjehl
98842a337c
critical bug fix for C-Grade support. Ensures page is not hidden on C-Grade browsers. Fixes #975
2011-02-04 12:45:26 -05:00
toddparker
d91d83887e
Re-compressed the 18px icons to dramatically reduce bandwidth - 150k+ to 4k. Fireworks - what were you thinking last night?
2011-02-04 11:25:50 -05:00
scottjehl
89cb6d455f
typos in page template urls.
2011-02-04 10:13:56 -05:00
jeresig
ac519ba754
Simplifying the build script some more.
2011-02-04 09:38:21 -05:00
scottjehl
a1867eef58
found a dead link that managed to take down our multipage demo.
2011-02-04 08:08:32 -05:00
John Resig
950784e70f
Make some tweaks to the deploy script.
2011-02-03 18:57:53 -05:00
Kin Blas
f738dcbbcc
More work-in-progress changes.
2011-01-28 15:39:51 -08:00
Kin Blas
a4a18c9934
Merge branch 'master' into fastclick
2011-01-28 13:05:05 -08:00
Kin Blas
3c6cce2322
Checking in the start of an experimental plugin for speeding up click events while retaining the firing order of mouse events.
2011-01-28 13:04:18 -08:00
Kin Blas
7860a90e87
Merge branch 'master' of https://github.com/jquery/jquery-mobile into jqm-mainline
2010-12-15 10:25:53 -08:00
Kin Blas
036e3ebd90
Sync up the scrollview code with the jquery-mobile mainline.
2010-12-03 09:46:49 -08:00
Kin Blas
aadb325b72
Implemented scroll viewport paging.
...
Fixed paging enabled bug in scrollview.js.
Enabled x-paging in the scrollview-direction.html sample.
2010-12-01 17:40:07 -08:00
Kin Blas
fbaa3c1288
Make sure newX and newY are initialized to the current scroll offsets. This fixes a scroll propagation bug that was resetting the non-scrolled dimension to zero.
...
Replaced all occurences of "horizontal" and "vertical" with "x" and "y".
Modified samples to use data-scroll="x|y|true".
Implemented public scrollTo(0 function that gives an optional duration parameter for animated scrolling.
2010-11-30 15:20:10 -08:00
Kin Blas
81f67e1aaf
Made setElementTransform() a generic function so it can be shared with the scrolllistview code.
...
Fixed a bug/typo with an instance of the _didDrag property.
2010-11-29 15:40:52 -08:00
Kin Blas
655e98647c
Removed style properties for ui-scrollview-clip and ui-scrollview-view from the stylesheet. We now set them progrmatically since they are required.
...
Added a multi-direction, horizontal and vertical example to the sample page.
2010-11-29 10:55:54 -08:00
Kin Blas
84f5325ad2
Fixed a bug that was causing a vertical scrollview to jump to (0,0) when the directionLock calculated was horizontal.
2010-11-24 11:54:17 -08:00
Kin Blas
1c198d1193
Renamed _direction to _directionLock.
2010-11-24 10:04:50 -08:00
Kin Blas
e4a17298bf
Some fine tuning for when we actually propagate scrolling. We now limit propagation to vertical or horizontal directions.
2010-11-24 09:32:16 -08:00
Kin Blas
910d0ded17
- Refactored some code.
...
- Got scroll propagation working for the case where we hit the extremes of a horizontal or vertical scrollview when dragging.
2010-11-23 13:02:12 -08:00
Kin Blas
cc34525663
Fixed direction locking and propagation.
2010-11-23 09:26:43 -08:00
Kin Blas
9bee72ca1c
Get nested scrolling to work. Still need to get scroll direction locking functioning.
2010-11-22 17:22:51 -08:00
Kin Blas
cdf5311cd2
Rough support for scroll propagation. Still some bugs to fix.
2010-11-22 17:00:58 -08:00