We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28073
    • 164 Posts
    Dear all,

    Contextmenu is displayed when right-click on the left side tree menu at the manager screen of MODx097.
    But,Opera browser is not displayed by right-click.
    Because Opera browser doesn’t support the oncontextmenu event of Javascript.
    (Oncontextmenu is not recorded in the specification of w3c. Therefore ,I think Opera not to be supported this.)

    How about the function to display the Contextmenu by shortcut key is added for this problem?

    For example.

    [MODX0.9.7alpha1]/manager/assets/modext/ui/modx.tree.js(Add about 80 line)
            //P Key -> ShowContextMenu
            this.keymap = new Ext.KeyMap(config.el,
                    {
                            key: 80
                            , scope: this
                            , fn: function(){ this._showContextMenu(this.getSelectionModel().getSelectedNode(),''); }
                    }
            );
    


    When "p" key is input on the left side tree menu at the manager screen of MODx097, Contextmenu is displayed.
    (This code doesn’t run well in IE browser .I do not understand why not to run :’()

    Sincerely yours,