•         init = function () {
                $(document)
                    .on('mousedown.anythig-order', '#the-list > tr:not(.inline-editor)', revertInline)
                    .on('click.anythig-order', '#the-list .column-anything-order', select )
                    .on('keyup', cancelSort )
                    .ajaxSend(function (e, xhr, o, undefined) {
                        if ( undefined != o.data && -1 == o.data.indexOf('screen_id=') && undefined != window.pagenow) {
                            o.data += '&screen_id=' + window.pagenow
                        }
                    });
    
                _pref.on('click.anythig-order', refresh);
    
                refresh();
    
            };

    if ( undefined != o.data

The topic ‘fix in JS’ is closed to new replies.