r2410 - Refactored code for allowing init with no options and changing the mask and placeholder o...
Author: powella Date: Mon Mar 30 08:53:28 2009 New Revision: 2410 Modified: branches/dev/mask/ui/ui.mask.js Log: Refactored code for allowing init with no options and changing the mask and placeholder options on the fly. Modified: branches/dev/mask/ui/ui.mask.js ============================================================================== --- branches/dev/mask/ui/ui.mask.js (original) +++ branches/dev/mask/ui/ui.mask.js Mon Mar 30 08:53:28 2009 @@ -17,42 +17,62 @@ var pasteEventName = ($.browser.msie
r2411 - Added demos for allowing init with no options and changing the mask and placeholder optio...
Author: powella Date: Mon Mar 30 08:53:50 2009 New Revision: 2411 Modified: branches/dev/mask/demos/mask/default.html Log: Added demos for allowing init with no options and changing the mask and placeholder options on the fly. Modified: branches/dev/mask/demos/mask/default.html ============================================================================== --- branches/dev/mask/demos/mask/default.html (original) +++ branches/dev/mask/demos/mask/default.html Mon Mar 30 08:53:50 2009 @@ -27,6
r2413 - Added checks for removing a mask without destroying the instance.
Author: powella Date: Mon Mar 30 09:15:08 2009 New Revision: 2413 Modified: branches/dev/mask/ui/ui.mask.js Log: Added checks for removing a mask without destroying the instance. Added check for changing the placeholder to an empty string. Modified: branches/dev/mask/ui/ui.mask.js ============================================================================== --- branches/dev/mask/ui/ui.mask.js (original) +++ branches/dev/mask/ui/ui.mask.js Mon Mar 30 09:15:08 2009 @@ -24,8 +24,10 @@ $.extend(this,
r2409 - Sortable: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:20:29 2009 New Revision: 2409 Modified: branches/dev/widget-factory/ui/ui.sortable.js Log: Sortable: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.sortable.js ============================================================================== --- branches/dev/widget-factory/ui/ui.sortable.js (original) +++ branches/dev/widget-factory/ui/ui.sortable.js Mon Mar 30 06:20:29 2009 @@ -42,6 +42,8 @@ for ( var i
r2408 - Tabs: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:19:22 2009 New Revision: 2408 Modified: branches/dev/widget-factory/ui/ui.tabs.js Log: Tabs: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.tabs.js ============================================================================== --- branches/dev/widget-factory/ui/ui.tabs.js (original) +++ branches/dev/widget-factory/ui/ui.tabs.js Mon Mar 30 06:19:22 2009 @@ -434,6 +434,8 @@ if (o.cookie) { this._cookie(null,
r2406 - Slider: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:18:14 2009 New Revision: 2406 Modified: branches/dev/widget-factory/ui/ui.slider.js Log: Slider: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.slider.js ============================================================================== --- branches/dev/widget-factory/ui/ui.slider.js (original) +++ branches/dev/widget-factory/ui/ui.slider.js Mon Mar 30 06:18:14 2009 @@ -176,6 +176,7 @@ this._mouseDestroy();
r2407 - Selectable: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:18:43 2009 New Revision: 2407 Modified: branches/dev/widget-factory/ui/ui.selectable.js Log: Selectable: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.selectable.js ============================================================================== --- branches/dev/widget-factory/ui/ui.selectable.js (original) +++ branches/dev/widget-factory/ui/ui.selectable.js Mon Mar 30 06:18:43 2009 @@ -59,6 +59,8 @@ .removeData("selectable")
r2405 - Resizable: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:17:52 2009 New Revision: 2405 Modified: branches/dev/widget-factory/ui/ui.resizable.js Log: Resizable: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.resizable.js ============================================================================== --- branches/dev/widget-factory/ui/ui.resizable.js (original) +++ branches/dev/widget-factory/ui/ui.resizable.js Mon Mar 30 06:17:52 2009 @@ -199,6 +199,7 @@ this.originalElement.css('resize',
r2402 - Draggable: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:16:41 2009 New Revision: 2402 Modified: branches/dev/widget-factory/ui/ui.draggable.js Log: Draggable: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.draggable.js ============================================================================== --- branches/dev/widget-factory/ui/ui.draggable.js (original) +++ branches/dev/widget-factory/ui/ui.draggable.js Mon Mar 30 06:16:41 2009 @@ -35,6 +35,8 @@ +
r2404 - Progressbar: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:17:28 2009 New Revision: 2404 Modified: branches/dev/widget-factory/ui/ui.progressbar.js Log: Progressbar: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.progressbar.js ============================================================================== --- branches/dev/widget-factory/ui/ui.progressbar.js (original) +++ branches/dev/widget-factory/ui/ui.progressbar.js Mon Mar 30 06:17:28 2009 @@ -52,6 +52,7 @@ $.widget.prototype.destroy.apply(this,
r2401 - Accordion: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:16:21 2009 New Revision: 2401 Modified: branches/dev/widget-factory/ui/ui.accordion.js Log: Accordion: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.accordion.js ============================================================================== --- branches/dev/widget-factory/ui/ui.accordion.js (original) +++ branches/dev/widget-factory/ui/ui.accordion.js Mon Mar 30 06:16:21 2009 @@ -125,6 +125,8 @@ if (o.autoHeight
r2403 - Droppable: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Mon Mar 30 06:17:03 2009 New Revision: 2403 Modified: branches/dev/widget-factory/ui/ui.droppable.js Log: Droppable: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.droppable.js ============================================================================== --- branches/dev/widget-factory/ui/ui.droppable.js (original) +++ branches/dev/widget-factory/ui/ui.droppable.js Mon Mar 30 06:17:03 2009 @@ -45,6 +45,8 @@ .removeClass("ui-droppable
r2400 - Dialog: refactored for auto-detection of getters.
Author: scott.gonzalez Date: Sun Mar 29 19:12:21 2009 New Revision: 2400 Modified: branches/dev/widget-factory/ui/ui.dialog.js Log: Dialog: refactored for auto-detection of getters. Modified: branches/dev/widget-factory/ui/ui.dialog.js ============================================================================== --- branches/dev/widget-factory/ui/ui.dialog.js (original) +++ branches/dev/widget-factory/ui/ui.dialog.js Sun Mar 29 19:12:21 2009 @@ -137,7 +137,6 @@ (options.bgiframe &&
r2399 - Widget factory: auto detect getters.
Author: scott.gonzalez Date: Sun Mar 29 19:11:04 2009 New Revision: 2399 Modified: branches/dev/widget-factory/ui/ui.core.js Log: Widget factory: auto detect getters. Modified: branches/dev/widget-factory/ui/ui.core.js ============================================================================== --- branches/dev/widget-factory/ui/ui.core.js (original) +++ branches/dev/widget-factory/ui/ui.core.js Sun Mar 29 19:11:04 2009 @@ -203,19 +203,6 @@ // $.widget is a factory to create jQuery plugins
r2398 - Creating dev branch for widget factory development.
Author: scott.gonzalez Date: Sun Mar 29 19:00:25 2009 New Revision: 2398 Added: branches/dev/widget-factory/ - copied from r2397, /trunk/ Log: Creating dev branch for widget factory development.
jQuery Dialog and Datepicker issue
URL: http://www.stormreportmap.com/premium2 Once the page loads, click on Advanced Search. It should bring up the jQuery dialog modal which displays a datepicker field. However, when you click on it the calendar doesn't pop up. Instead, if you close the modal dialog you'll see the calendar popped up below the dialog. Is there a way to get the datepicker to display correctly within the dialog? Thanks!
r2396 - Mask: Fixed destroy method.
Author: scott.gonzalez Date: Sat Mar 28 09:59:27 2009 New Revision: 2396 Modified: branches/dev/mask/ui/ui.mask.js Log: Mask: Fixed destroy method. Modified: branches/dev/mask/ui/ui.mask.js ============================================================================== --- branches/dev/mask/ui/ui.mask.js (original) +++ branches/dev/mask/ui/ui.mask.js Sat Mar 28 09:59:27 2009 @@ -14,9 +14,8 @@ */ (function($) { -var pasteEventName = ($.browser.msie ? 'paste' : 'input') + ".mask", - undefined;
r2397 - Finally fixed the mutiple row tabs vs float issue (until scrolling is implemented) - fixe...
Author: klaus.hartl Date: Sat Mar 28 11:59:55 2009 New Revision: 2397 Modified: trunk/themes/base/ui.tabs.css Log: Finally fixed the mutiple row tabs vs float issue (until scrolling is implemented) - fixes #4399. Also fixed: tabs not scrolling in IE when contained in element with overflow set to auto or scroll, tab label text wrap in IE 6. Modified: trunk/themes/base/ui.tabs.css ============================================================================== --- trunk/themes/base/ui.tabs.css (original)
r2395 - Dialog: Don't bind overlay event handlers if the overlays are destroyed before the setTim...
Author: scott.gonzalez Date: Sat Mar 28 09:33:59 2009 New Revision: 2395 Modified: trunk/ui/ui.dialog.js Log: Dialog: Don't bind overlay event handlers if the overlays are destroyed before the setTimeout block is executed - Fixes #4065 - modal dialog + button locks page. Modified: trunk/ui/ui.dialog.js ============================================================================== --- trunk/ui/ui.dialog.js (original) +++ trunk/ui/ui.dialog.js Sat Mar 28 09:33:59 2009 @@ -533,10 +533,13 @@ //
sortable start trigger
It seems the start event trigger for sortable has been moved to much later in the _mouseStart method in UI 1.7. As a result, when I cache my sortable list within the start callback, I get the sortable helper included in the set. This didn't used to happen in UI1.5, and since I need to cache my list's state when sorting begins, it breaks my application. I can work around it by using a regular mousedown event instead of the sortable start callback, so it's not a big deal. But I'm just wondering: is
r2394 - Widget factory: Fixed $4266 - Add custom selectors for widgets.
Author: scott.gonzalez Date: Fri Mar 27 17:52:56 2009 New Revision: 2394 Modified: trunk/ui/ui.core.js Log: Widget factory: Fixed $4266 - Add custom selectors for widgets. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Mar 27 17:52:56 2009 @@ -217,9 +217,16 @@ } $.widget = function(name, prototype) { - var namespace = name.split(".")[0]; + var namespace = name.split(".")[0],
r2393 - Fixed dialog tests to use same instead of equals for hashes.
Author: scott.gonzalez Date: Fri Mar 27 17:37:16 2009 New Revision: 2393 Modified: trunk/tests/unit/dialog/dialog_options.js Log: Fixed dialog tests to use same instead of equals for hashes. Modified: trunk/tests/unit/dialog/dialog_options.js ============================================================================== --- trunk/tests/unit/dialog/dialog_options.js (original) +++ trunk/tests/unit/dialog/dialog_options.js Fri Mar 27 17:37:16 2009 @@ -54,9 +54,9 @@ } }; - equals(el.data("buttons.dialog"),
r2392 - Widget factory: Fixed #4366 - Deep copy options on init.
Author: scott.gonzalez Date: Fri Mar 27 17:06:34 2009 New Revision: 2392 Modified: trunk/ui/ui.core.js Log: Widget factory: Fixed #4366 - Deep copy options on init. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Mar 27 17:06:34 2009 @@ -261,7 +261,7 @@ this.widgetEventPrefix = $[namespace][name].eventPrefix || name; this.widgetBaseClass = namespace + '-'
Deep Copy of UI Widget Options
Had a discussion about widget options in jquery-ui group discussion... http://groups.google.com/group/jquery-ui/browse_thread/thread/36ac5cc5e1afa9c1/3f3205196ee4988c?hl=en&lnk=gst&q=deep+copy#3f3205196ee4988c ... and thought I'd get some opinions here. So... please opine. Is there a strong argument for not allowing a deep copy of widget options where the widget constructor is created (~ line 282 in ui.core.js for version 1.6rc6)? It seems that a shallow copy limits the structure of a widget's options.
r2390 - Added demo for mask escaping.
Author: powella Date: Fri Mar 27 11:37:34 2009 New Revision: 2390 Modified: branches/dev/mask/demos/mask/default.html Log: Added demo for mask escaping. Modified: branches/dev/mask/demos/mask/default.html ============================================================================== --- branches/dev/mask/demos/mask/default.html (original) +++ branches/dev/mask/demos/mask/default.html Fri Mar 27 11:37:34 2009 @@ -25,7 +25,8 @@ $("#eyescript").mask({mask: "~#.## ~#.## ###"}); $("#po").mask({mask:
r2391 - Added ability to escape mask characters.
Author: powella Date: Fri Mar 27 11:38:04 2009 New Revision: 2391 Modified: branches/dev/mask/ui/ui.mask.js Log: Added ability to escape mask characters. Modified: branches/dev/mask/ui/ui.mask.js ============================================================================== --- branches/dev/mask/ui/ui.mask.js (original) +++ branches/dev/mask/ui/ui.mask.js Fri Mar 27 11:38:04 2009 @@ -19,11 +19,43 @@ $.widget("ui.mask", { + _escapeMask: function(){ + var mask = this.options.mask,
1.7.1 ui-icon hover CSS bug?
[previously posted to jQueryUI group] I have been fighting to get hover to work correctly for a ui-icon and discovered the problem only appears when the ui-icon is enclosed in a ui-widget-container. So I created a test page (included below). Then I started digging into the core css. I found the line that causes the error. Line 22 of ui.theme.css from 1.7.1 The selector list for that line is ... .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus
r2389 - Moved non-event functions out of _init()
Author: powella Date: Fri Mar 27 07:57:34 2009 New Revision: 2389 Modified: branches/dev/mask/ui/ui.mask.js Log: Moved non-event functions out of _init() Replaced 'widget' with 'self' Replaced number literals with $.ui.keyCode equiv. Reworked shiftL() method to fix removing selections issue. Modified: branches/dev/mask/ui/ui.mask.js ============================================================================== --- branches/dev/mask/ui/ui.mask.js (original) +++ branches/dev/mask/ui/ui.mask.js Fri
r2388 - Added button to remove mask, instead of automatically removing it.
Author: powella Date: Fri Mar 27 07:55:21 2009 New Revision: 2388 Modified: branches/dev/mask/demos/mask/default.html Log: Added button to remove mask, instead of automatically removing it. Added initial markup for testing inline character classes. Modified: branches/dev/mask/demos/mask/default.html ============================================================================== --- branches/dev/mask/demos/mask/default.html (original) +++ branches/dev/mask/demos/mask/default.html Fri Mar 27 07:55:21
UI Themeroller Legacy (1.5.3) Issue
I'm not sure if this is the location to which to report issues with the website. If not, please let me know and I will post it elsewhere. I needed to use the legacy version of the UI because another jQuery plugin (jQuery TreeView) that I was using needed jQuery 1.2.6. I was trying to get the overlay working for the Dialog plugin in UI, but it was a nonstarter. I finally determined that the zip file downloaded did not contain the graphics or the CSS for the overlays for the Dialog plugin. I downloaded
Patch for ui.core.js - handling option changes
I'd like to suggest a patch to make it easier to implement handling of options and reaction to option changes. This allows widget implementers to just add a function to validate individual options instead of having to proxy _setData, pseudo-code example: $.widget('ui.something', { _set: { somevalue: function( newValue, oldValue ) { if (newValue is invalid) { return oldValue; } else { return newValue; } } } }); This function gets the widget as 'this' and the new and old values as args, and returns
#4303 incorrectly resolved as invalid
#4303: (sortable: receive: ui.item references the source element) The point of the bug report is that now there is no way to manipulate the dropped element via the ui object in the receive handler. This is a breaking change and quite problematic for some use cases. If ui.item is not supposed to reference the new item (it used to) we need a new property that satisfies this requirement. Better sooner than later... Thanks! see also: comment by codeofficer in the bug
r2386 - tags/1.6rc2.6: added files from zip
Author: rdworth Date: Thu Mar 26 03:51:42 2009 New Revision: 2386 Added: tags/1.6rc2.6/ui/i18n/jquery.ui.i18n.all.js tags/1.6rc2.6/ui/jquery.ui.all.js tags/1.6rc2.6/ui/minified/ tags/1.6rc2.6/ui/minified/effects.blind.min.js tags/1.6rc2.6/ui/minified/effects.bounce.min.js tags/1.6rc2.6/ui/minified/effects.clip.min.js tags/1.6rc2.6/ui/minified/effects.core.min.js tags/1.6rc2.6/ui/minified/effects.drop.min.js tags/1.6rc2.6/ui/minified/effects.explode.min.js tags/1.6rc2.6/ui/minified/effects.fold.min.js
r2387 - branches/1.6: set version to 1.6pre
Author: rdworth Date: Thu Mar 26 03:58:05 2009 New Revision: 2387 Modified: branches/1.6/version.txt Log: branches/1.6: set version to 1.6pre Modified: branches/1.6/version.txt ============================================================================== --- branches/1.6/version.txt (original) +++ branches/1.6/version.txt Thu Mar 26 03:58:05 2009 @@ -1 +1 @@ -1.6rc2.6 \ No newline at end of file +1.6pre \ No newline at end of file
r2385 - Created 1.6rc2.6 tag from /branches/1.6 r2384
Author: rdworth Date: Thu Mar 26 03:37:48 2009 New Revision: 2385 Added: tags/1.6rc2.6/ (props changed) - copied from r2384, /branches/1.6/ Log: Created 1.6rc2.6 tag from /branches/1.6 r2384
r2384 - branches/1.6: set version to 1.6rc2.6
Author: rdworth Date: Thu Mar 26 03:36:28 2009 New Revision: 2384 Modified: branches/1.6/version.txt Log: branches/1.6: set version to 1.6rc2.6 Modified: branches/1.6/version.txt ============================================================================== --- branches/1.6/version.txt (original) +++ branches/1.6/version.txt Thu Mar 26 03:36:28 2009 @@ -1 +1 @@ -1.6pre \ No newline at end of file +1.6rc2.6 \ No newline at end of file
How to extend an UI "class"?
Is there a way to extend an already existing UI class? For example the progress bar. To add a text to it, I would override the value setter method to grap the set-text call, otherwise calling the super.set..() And the init, where I would add a new DIV containing the text (center aligned) Is there a way to do this? (calling super, extend an UI component, ...) Can someone show me a short example? Thanks. Tamas
"load.tabs" Help-me, Please !!!
In the documentation says to get the url for a tab is used the "load.tabs. How to use this in the simplified code to get the "load.tabs" the tab index of 0? I did the tests: var test = $("# tabs").tabs().data("load.tabs"); alert (test); Other tests (var test): $("tabs").tabs().eq [0].date("load.tabs"); $("tabs").tabs().date(ui.tab, "load.tabs"); ... Several, but none worked. If you call this function within the select event, normalment works, but I learn so simplified, was the creation of tabs, such
"load.tabs" Helpe-me, please!
In the documentation says to get the url for a tab is used the "load.tabs. How to use this in the simplified code to get the "load.tabs" the tab index of 0? I did the tests: var test = $("# tabs").tabs().data("load.tabs"); alert (test); Other tests (var test): $("tabs").tabs().eq [0].date("load.tabs"); $("tabs").tabs().date(ui.tab, "load.tabs"); ... Several, but none worked. If you call this function within the select event, normalment works, but I learn so simplified, was the creation of tabs, such
Get Tab URL
How to get the url for a tab? My Tabs is Ajax: <div id="tabs"> <ul> <li><a href="content1.html">Tab1</a></li> <li><a href="content2.html">Tab2</a></li> </ul> </div> <button onclick="alert(????)"> Tab 1 (or index 0) URL</button> Thanks!
Next Page