Firefox 39.0 right click jquery context menu problem

User Help for Mozilla Firefox
Post Reply
jaisee
Posts: 14
Joined: February 12th, 2015, 2:48 am

Firefox 39.0 right click jquery context menu problem

Post by jaisee »

Hi,
I'm using the "jQuery contextmenu plugin" ,I load in all data into the
contextmenu list. Next step is that I want to be able to
right click these dynamically loaded elements and show contextmenu popup of each
element. I get it working in windows(IE,chrome) and Mac(safari,chrome), but not in windows and mac latest firefox version 39.0.

Any ideas why it would not work in latest firefox? :( :( :(

Code: Select all

$('.table-files').find('tbody').contextMenu(options.tableFiles);

options.tableFiles = {
        selector: 'tr',
        build: function ($trigger, el) {
            var array = createArray($trigger),
            items = {};             
            items = {
                itemAddToShare: {
                    type: 'button',
                    buttonClassName: 'button',
                    name: btnAddToShare,
                    disabled: true,
                    callback: function (key, options) {
                       
                    }
                },
                itemView: {
                    icon: 'eye-open',
                    name: btnView,
                    disabled: true,
                    callback: function () {                       
                     
                    }
                }
               
            };

            for (var i = 0; i < array.length; i++) {
                items[array[i]].disabled = false;
            }

            return !$.isEmptyObject(items) ? {
                className: 'context-menu-dark',
                items: items
            } : false;
        }
    }

Note:Its working previous firefox version 38.0

Thanks,
jc
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Firefox 39.0 right click jquery context menu problem

Post by therube »

> jQuery contextmenu plugin

Link?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
jaisee
Posts: 14
Joined: February 12th, 2015, 2:48 am

Re: Firefox 39.0 right click jquery context menu problem

Post by jaisee »

Finally,I got solution :) :) :)
Problem is conflict jquery.min.js in latest firefox version 39.0

Thanks
Post Reply