As a test, I added the following action to the action bar, but it didn't show up in the right click items. What am I missing to add it as a right click option?
function do_this(sId){
var selected_docs = API_GetSelectedDocs_Lite();
alert("UNIDs of selected docs: " + selected_docs);
}
function Custom_Scene_Actions_Lite(s_MenuID)
{
{title:"Action1", find_id: "new", id: "Act1", before: true,
action:"do_this{ }", help_text: "Running Action One" }
];
addActionsLite( s_MenuID, bLeftItems, aAdd1 );
}
Additionally, addActionsLite() is giving the action bar menu ID's using hover, but I can't get the menu ID's for the right click menus.
From the information on checkActionIDs helper function,
//.....A new item will also be added to the top of all dropdown menus
// which has the dropdown ID as the text.
I'm not getting the menu ID at the top of the dropdown. But hover is working on the action bar.
My main objective is to add an action to the Action Bar, as well as an action to the right click dropdown menu of the mainview documents.