Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (124 - 126 of 7259)

Ticket Resolution Summary Owner Reporter
#15077 duplicate ui.tabs tries to insert the page into itself if the page has a <base> tag François REMY
Description

Create a page with a <base href="http://..."> tag to another domain. Inside, create a tab bar containing at least one tab link, pointing to elements using <a .... href="#id">.

When you load the page, you should see a request being made to the base domain, then fails due to CORS restrictions. This request should not happen.

In Edge, things are worse because the request does succeed (we don't apply the <base> tag for the special-cased "" url) and the page is inserted into itself recursively, until the page becomes unusable.

You can view this behavior on: http://kibrisgazetesi.com/

It would be great to fix this bug in the _isLocal function by making sure that if the anchor.getAttribute('href').substr(0,1) is equal to '#', then the url is always considered local (to avoid <base> tag issues).

The code is in: https://github.com/jquery/jquery-ui/blob/master/ui/widgets/tabs.js#L80

#15076 sortable cancel but remove sort item. vee w, vee w,
Description
    $('.posts_page_rd-postorder_reorder-posts tbody').sortable({
        handle: '.reorder-handle',
        helper: 'clone',
        placeholder: 'ui-placeholder',
        revert: true,
        sort: function(event, ui) {
            if ($(this).hasClass('cancel')) {
                $(this).sortable('cancel');
            }
        },
        start: function(event, ui) {
            // fixed height for table row.
        },
        update: function(event, ui) {
            // on stopped sorting and position has changed.
        }
    });

This is my code. I add keypress listening on press escape key to add cancel class to the sortable. And in start: method if there is cancel class then cancel sorting.
Everything seems to working fine but when it cancelled the item were removed.

#15075 worksforme Custom Selectmenu with _renderItem crashes when calling "refresh" matzechecksout
Description

jQuery Version 3.1.1

$.widget('custom.bugselectmenu', $.ui.selectmenu, {
    _renderItem: function ($ul, option) {
        var $li = $('<li>', { text: option.label });
        return $li.appendTo($ul);
    }
});

$option.bugselectmenu('refresh');

When calling refresh, there is a null reference exception.

Note: See TracQuery for help on using queries.