John Bender
ff8a1ceefa
.call on shared
2011-08-08 13:53:53 -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
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
John Bender
d293e968f9
moved _buildList into custom
2011-08-05 15:35:13 -07: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
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
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
1d00ee316e
forgotten bind on pagehide to fix height calculation issues
2011-08-02 12:38:53 -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
John Bender
f1d964e9e9
fix for cached page removal breaking dialog sized select menus Fixes #2181
2011-08-01 18:08:28 -07:00
Ghislain Seguin
30e8ea8e09
Coding standards
2011-07-28 15:25:57 -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
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
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
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
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
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
John Bender
2e2f318562
whitespace and missing semi in select
2011-07-15 15:22:56 -07: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
Eugen
d581accfdb
#2018 - forms.select now uses $.mobile.defaultDialogTransition
2011-07-07 09:52:02 +02: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
Ghislain Seguin
8a9010d5e6
Coding standards
2011-06-28 22:06:30 -07:00
Rick Waldron
373c42d9ef
jQuery core style guide conformance: jquery.mobile.forms.select.js
2011-06-28 20:54:30 -04: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
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
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
mark.dawn@gmail.com
4bccf1d8a6
some string literal fixes
2011-05-02 13:30:36 +05:30
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
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
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
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
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
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