Custom Query (7259 matches)
Results (109 - 111 of 7259)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#8168 | notabug | Some questions about destroy | ||
Description |
I am studying jquery ui. I found some questions in it. Hope somebody can give me a response by email:[email protected] Thanks
I use firebug in Firefox to test it. The reason is the destroy function in selectable widget has not cleaned the data of selectableItem instead of selectable-item. And I think the destroy function should try to clean the class ui-selected in selectees.
|
|||
#8359 | wontfix | Add "beforeOpen" event to Dialog | ||
Description |
I would like to have a "beforeOpen" event for the Dialog class. I've already patched jquery.ui.dialog.js like this: open: function() { if (this._isOpen) { return; } var self = this, options = self.options, uiDialog = self.uiDialog; + if (false === self._trigger('beforeOpen')) { + return; + } + self.overlay = options.modal ? new $.ui.dialog.overlay(self) : null; self._size(); self._position(options.position); uiDialog.show(options.show); self.moveToTop(true); I need this event for the following situation:
With my current solution being:
/** * @param id The id of the dialog element */ function bindDialogFocusEvents(id) { $('#'+id).bind('dialogclose', function(event) { $(this).prop('focused').focus(); }); $('#'+id).bind('dialogbeforeopen', function(event) { var target = $(':focus'); $(this).prop('focused', target); }); } $("#new-dialog").dialog({modal: true, ...}); bindDialogFocusEvents('new-dialog'); Maybe it's possible to add the "focus restoration" functionality to the dialog code as well, but I would be happy with just the "beforeOpen" event for now... |
|||
#8655 | fixed | Spinner buttons displayed on top of Datepicker | ||
Description |
When a Datepicker is displayed, if it is on top of a Spinner, its up and down buttons are visible. demo : http://jsfiddle.net/Benco/W2CeV/
Affected browsers : OS : Windows 7 Enterprise SP1 note : this had been reported before, but refused as a bug, since Spinner was a plugin at the time. Ticket :http://bugs.jqueryui.com/ticket/3188 |