2
How to get full path in contextMenuSelection
Question asked by Elton Alberto de Lima - November 24, 2017 at 9:01 AM
Unanswered
I have a new item in the context menu, however I do not know how to get the full path of the file.
 
var fileManager;
         function fileManagerLoading(sender, e) {
             fileManager = sender;
             window["Ext"].override(fileManager, {
                 createViewItemContextMenu: function () {
                     var me = this;
                     var menu = this.callParent();
                     menu.add([{
                         text: "New Item",
                         icon: '/Content/Images/icons/copy-url.png',
                         handler: function () {
                             console.log(me.contextMenuSelection.data);
                               // how to get full path?
                         }
                     }]);
                     return menu;
                 }
             });
         }

Reply to Thread