Commit Graph

64 Commits

Author SHA1 Message Date
Scott González
79ee6f0d7b Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated. 2010-08-27 18:02:11 -04:00
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04:00
Ziling Zhao
c5770c0e84 Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width should be at least minWidth on creation. 2010-07-30 15:14:48 -04:00
Scott González
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
Scott González
61e0aeac7e Dialog: Wrap buttons in a div so we can float the div instead of the individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab. 2010-07-29 20:56:28 -04:00
Scott González
2366a81740 Dialog: Fixed tests for position option. 2010-07-16 08:55:03 -04:00
jzaefferer
56aecac811 Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference 2010-07-15 09:31:36 +02:00
Scott González
96e78a2cb7 Dialog: Updated test for default position option. QUnit still fails the test though. 2010-07-14 16:40:43 -04:00
Ben Hollis
6de9a5368c Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API 2010-07-14 16:29:28 -04:00
Scott González
2c7a9e9ff3 Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title" moved to title area. 2010-07-14 15:28:01 -04:00
jzaefferer
baa3678477 Unit tests: Disable stale widget tests on testswarm 2010-04-14 20:19:20 +02:00
Richard Worth
bfc180b1ba html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase 2010-03-12 03:18:34 +00:00
Richard Worth
7898303437 dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291 2010-03-11 20:48:21 +00:00
Richard Worth
9483dcdbe6 Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Richard Worth
0798b10717 Fixed #5182 - Update to jQuery 1.4.2 2010-02-16 02:39:57 +00:00
Scott González
c9f30818af Dialog: Update the internal flag for whether or not the dialog is open before triggering the close event.
Fixes #5184 - isOpen in dialogclose event is true.
2010-02-16 02:13:38 +00:00
Richard Worth
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Richard Worth
3eaf9daaca Deprecated beforeclose option instead of removing it for now, fixes reopened #4669 - Dialog: beforeclose option should be beforeClose. 2010-01-27 10:31:17 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00
Scott González
010385b2fa Dialog, position: Removed bgiframe option; always use bgiframe when available.
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
1c31a26b56 Replaced stackfix with bgiframe.
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
752c191a71 Added jquery.ui.mouse.js to non-interaction demos/tests that use interaction plugins. 2009-12-23 03:29:33 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00
Scott González
b3a095d3ef Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests. 2009-11-09 01:50:23 +00:00
Jörn Zaefferer
751d7c521b update to latest QUnit 2009-09-29 07:48:14 +00:00
Jörn Zaefferer
122a6cdd5f dialog: fixed _position regression; wrote a test for the default positon, which still needs some tuning 2009-09-19 14:03:53 +00:00
Richard Worth
5c87e2e448 dialog unit tests: options closeOnEscape, draggable 2009-09-19 10:16:08 +00:00
Richard Worth
79916907b5 dialog unit tests: methods close, moveToTop, open 2009-09-19 09:49:00 +00:00
Richard Worth
af178c00f1 dialog: fixed enable and disable methods 2009-09-19 09:35:53 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00
Jörn Zaefferer
06702d8b30 updated to latest QUnit 2009-09-15 21:12:05 +00:00
Ca-Phun Ung
f6b3e0c6e9 dialog: added unit test for ticket #4826 2009-09-15 16:14:15 +00:00
Jörn Zaefferer
b9f59aa4cf dialog: methods test cleanup 2009-09-15 15:42:41 +00:00
Jörn Zaefferer
219c81a208 dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF) 2009-09-14 14:54:15 +00:00
Jörn Zaefferer
4908a27b14 change script ordering to load testswarm agent after QUnit 2009-09-11 18:30:23 +00:00
Jörn Zaefferer
7f54a1bad9 update to lastest QUnit 2009-08-30 10:46:20 +00:00
Richard Worth
1a6e100031 dialog unit tests: added position and stackfix 2009-08-12 08:20:57 +00:00
Richard Worth
57e3595115 Removed jquery.simulate from external/ as it's being removed from jqueryjs.googlecode.com/svn/trunk/plugins 2009-08-10 09:38:14 +00:00
Scott González
d3bd7ae09f Dialog tests: Switch bgiframe to stackfix. 2009-07-27 23:53:58 +00:00
Scott González
a716261ab6 Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose. 2009-07-11 00:36:36 +00:00
Scott González
1a03453654 Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase. 2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7 Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered. 2009-07-10 20:00:06 +00:00
Scott González
44ec979713 Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650: ui hash not always provided in events/callbacks. 2009-07-04 03:39:19 +00:00
Jörn Zaefferer
32c342a282 replaced svn:externals with versioned files within trunk/externals 2009-05-27 17:50:56 +00:00
Scott González
1195854aaa Merged in widget-factory branch and added tests. Fixes #4411 - Widget factory should auto detect getters. 2009-04-15 02:33:28 +00:00
Scott González
2b8109e119 Fixed dialog tests to use same instead of equals for hashes. 2009-03-28 00:37:16 +00:00
Richard Worth
352b081a39 Switched to jQuery 1.3.2 2009-02-20 11:40:25 +00:00
Richard Worth
176b2d21cd dialog: added some missing defaults 2009-02-09 11:15:23 +00:00