Title: fix in JS
Last modified: February 7, 2023

---

# fix in JS

 *  [Hrohh](https://wordpress.org/support/users/hrohh/)
 * (@hrohh)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/fix-in-js/)
 *     ```wp-block-code
               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.

 * ![](https://ps.w.org/anything-order-by-terms/assets/icon-256x256.png?rev=1582729)
 * [Anything Order by Terms](https://wordpress.org/plugins/anything-order-by-terms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anything-order-by-terms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anything-order-by-terms/)
 * [Active Topics](https://wordpress.org/support/plugin/anything-order-by-terms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anything-order-by-terms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anything-order-by-terms/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Hrohh](https://wordpress.org/support/users/hrohh/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/fix-in-js/)
 * Status: not resolved