When I select the "list of hyperlinks" as widget in the block, the page does not refresh in IE when I click it. There's no errors in the javascript console and weirdly enough, it does work in compatibility mode.

CommentFileSizeAuthor
QaCj3rw.png10.35 KBflbr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

flbr’s picture

If you deselect "Suppress URL parameters in the links of the links widget", it works in IE.

For now I have bypassed this problem by using a radio button as widget type.

RdeBoer’s picture

Thanks flbr for sharing problem the found and the workaround.
To be honest I have little time for IE...
If someone knows of a way to fix this properly in IE I welcome patches.
Rik

dgastudio’s picture

my non drupalway fix,

http://c2n.me/jqjMP2.png

keescornelisse’s picture

Fix for IE (Internet Explorer)

Line 123

var data = new Object;
              var url = Drupal.settings.basePath; // NEW
              data['from_links_widget'] = field;
              data[field] = value;
              global_filter_post_to(url, data); // EDIT

Line 136

function global_filter_post_to(url, data) {
    jQuery.ajaxSetup({ cache: false });
    jQuery.support.cors = true;
    jQuery.ajax({
        type: 'POST',
        url: url,
        data: data,
        dataType: 'json',
        async: true,
        cache: false,
        contentType: "application/x-www-form-urlencoded; charset=UTF-8",
        succes: function(response){
            location.href = window.location.pathname;
        },
        error: function(answer) {
            location.href = window.location.pathname;
        }
    });
}