Current state:
in resultset.js I have the function:
function rsOpenTicket(persid) {
var url=cfgCgi+
"?SID="+cfgSID+
"+FID="+fid_generator()+
"+OP=SHOW_DETAIL"+
"+FACTORY=cr"+
"+PERSID="+persid+
"+HTMPL=detail_outage.htmpl";
popupActivityWithURL(url);
}
invoked here:
if ( typeof cfgContextActivities == "boolean" && cfgContextActivities ) {
ctxMenu.addItem( msgtext("Transfer..."), // Transfer...
"rsTransfer(self.activePersid, self.activeFactory, 'TR')" );
ctxMenu.addItem( msgtext("Escalate..."), // Escalate...
"rsTransfer(self.activePersid, self.activeFactory, 'ESC')" );
ctxMenu.addItem( "Operational_Tab...", // Operational Tab...
"rsOpenTicket(self.activePersid)" );
ctxMenu.addItem( msgtext("Manual_Notify..."), // Manual Notify...
"rsTransfer(self.activePersid, self.activeFactory, 'NF')" );
if(ahdtop.canDisplayLiveAssistanceLink()){
ctxMenu.addItem( msgtext("Live_Assistance"), // Live Assistance
"ahdtop.inviteEndUser(self.activePersid)");
detail_outage.htmpl is a form I made using detail.htmpl template and cr (Request) as the table. I directly copied the components from the tab to the new form that it should be updating. When I right-click "Operational Tab..." it takes me to the form I created, but it's not in Edit mode. When I click the "Edit" button it just takes me to the full ticket in Edit mode.