Hi all,
I add a button on opportunity form using these properties of ribbon work bench
my js is shown below
function test()
{
debugger;
var width = 650 ; var height = 500;
var posLeft = (( screen.width - width ) / 2 ) ;
var posTop = (( screen.height - height ) / 2) ;
url = "win-us94vrpdbek/.../aw_PaymentMethodWhenOpportunityCloseAsWon"
window.open(url,'name', 'status=no, width=' + width + ',height=' + height +',top=' + posTop + ',left=' +
posLeft +',scrollbars=no,toolbars=no,menubar=no,location=no, align=center');
}
It do nothing when I clicked to the button. Please suggest me where I wrong.
Thank you