javascript - How to open dialogue box in parent window when clicking button from related list hover over -


we have custom onclick javascript button on list page of opportunity. button open jquery dialogue box when click on button. working fine when clicking button opportunity list page or opportunity related list account. when try open related list hover on dialouge box opening this. please 1 in opening dialogue box in proper window.

$g("#dialog").dialog({ modal: true, buttons: {     "yes": function() {         window.open("/apex/contractprocessflowvf_slds?accid={!account.id}", "_top ");         $g(this).dialog("close");     },     "no": function() {         window.open("/006/e?returl=%2f{!account.id}&accid={!account.id}&recordtype=" + rt + "&ent=opportunity&opp3=ee%20-%20{!account.name}&opp9={!account.ee_future_close_date__c}&opp11=target", "_parent");         $g(this).dialog("close");     } } 

});

hover on over opportunity related list

button click opportunity related hover over

any appreciated. in advance.

naveen


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

python - Getting 405 error while trying to download nltk data -