我有一个非常奇怪的问题。我正在尝试使用Coldfusion.Window.Create
在ColdFusion应用程序中创建一个简单的弹出窗口。但是,只要您单击链接并且屏幕上出现弹出窗口,它就会立即自动关闭。
我甚至尝试将目标网页空白,只有 Hello World 文字,但它仍然关闭。我在这里缺少什么?
这是我的代码:
<cfajaximport tags="cfwindow">
<!---Capture New Signature --->
<a href="" onClick="ColdFusion.Window.create('Window1', 'Signature Capture',
'https://#subscriber.hostName#.#subscriber.baseURL#/eztrax/administrator/tickets/templates/signature_popup.cfm?ticket_id=#get_ticket.ticket_id#',
{x:100,y:100,height:300,width:400,modal:false,closable:true,
draggable:true,resizable:true,center:true,initshow:true,
minheight:200,minwidth:200 })">
WindowsDotCreate - Capture New Signature |
</a>