Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Tariq Ahmed / Tariq Ahmed (Tariq Ahmed [ACP])
Created: 12/15/2008
Components: AJAX, UI Components
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 228275,229208,
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 1
Problem:
Opening a CFWINDOW works once, but all subsequent attempts fail. The same code works in CF8.
Method:
STEP 1: Copy this code to a test.cfm:
------------------------------------------------------------
<cfajaximport tags="cfform,CFLAYOUT-TAB,CFINPUT-AUTOSUGGEST,cfdiv,cfwindow" />
<script type=text/javascript>
function openChecklistWindow(planID)
{
var isCreated;
if(!isCreated)
{
ColdFusion.Window.create('winChecklist',
'Attach Checklist','test2.cfm',
{x:100,y:100,height:300,width:400,modal:false,closable:true,
draggable:true,resizable:true,center:true,initshow:true,
minheight:200,minwidth:200 });
isCreated= true;
}
}
</script>
<a href="javascript:openChecklistWindow()">Test</a>
-------------------------------------------------------------
STEP 2: Create a blank test2.cfm.
STEP 3: Run test.cfm URL, and click on the Test link
STEP 3: A Window opens up, click on the close button.
STEP 4: Click on the Test link again. In IE you'll see a JavaScript error.
STEP 5: Try it in CF8, and you can open and close windows perpetually.
Result:
JavsScript Error: Unspecified error
Says on line 47:
<script type="text/javascript">
ColdFusion.Ajax.importTag('CFDIV');
</script>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037069
External Customer Info:
External Company:
External Customer Name: Tariq Ahmed
External Customer Email: 755462B744617992992015D5
External Test Config: 12/15/2008
Attachments:
Comments: