Ignore:
Timestamp:
2022-02-01T11:54:46+13:00 (2 years ago)
Author:
cstephen
Message:

Migrate to using jQuery3 and jQuery-UI-1.13.2; and integrate cookie consent manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/jquery.blockUI.js

    r28942 r36027  
    11/*!
    22 * jQuery blockUI plugin
    3  * Version 2.66.0-2013.10.09
     3 * Version 2.70.0-2014.11.23
    44 * Requires jQuery v1.7 or later
    55 *
     
    108108        };
    109109
    110         $.blockUI.version = 2.66; // 2nd generation blocking at no extra cost!
     110        $.blockUI.version = 2.70; // 2nd generation blocking at no extra cost!
    111111
    112112        // override these in your code to change the default behavior and style
     
    427427                    lyr3.show();
    428428                if (opts.onBlock)
    429                     opts.onBlock();
     429                    opts.onBlock.bind(lyr3)();
    430430            }
    431431
     
    516516                data.el.style.display = data.display;
    517517                data.el.style.position = data.position;
     518                data.el.style.cursor = 'default'; // #59
    518519                if (data.parent)
    519520                    data.parent.appendChild(data.el);
     
    551552            var events = 'mousedown mouseup keydown keypress keyup touchstart touchend touchmove';
    552553            if (b)
    553                 $(document).bind(events, opts, handler);
     554                $(document).on(events, opts, handler);
    554555            else
    555                 $(document).unbind(events, handler);
     556                $(document).off(events, handler);
    556557
    557558        // former impl...
Note: See TracChangeset for help on using the changeset viewer.