Title:
[ANeff] Bug for: [regression] ColdFusion.Layout functions fail from ajaxOnLoad()
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/23/2014
Components: AJAX, UI Components
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
ColdFusion.Layout functions fail from ajaxOnLoad(), even when wrapped w/ Ext.onReady(). This works in CF10 w/o Ext.onReady().
Repro:
1) run index.cfm
2) see ColdFusion.Layout.collapseArea() does not collapse the layout area
index.cfm
-----------
<html>
<head>
<script type="text/javascript">
function init() {
alert("before");
//ColdFusion.Layout.collapseArea("myLayout", "left");//bug: layout area is not collapsed
Ext.onReady(function() {ColdFusion.Layout.collapseArea("myLayout", "left");});//bug: layout area is still not collapsed
alert("after");
}
</script>
</head>
<body>
<cflayout name="myLayout" type="border">
<cflayoutarea position="left" collapsible="true">left</cflayoutarea>
<cflayoutarea position="center">center</cflayoutarea>
</cflayout>
<cfset ajaxOnLoad("init") />
</body>
</html>
-----------
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3914318
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
External Test Config: Verified w/ CF11 Update 3 Final Standalone Enterprise on x64 Windows w/ Firefox 34.0.5, IE 11 and Chrome 39.0.2171.95 m
Attachments:
Comments: