-
23 Mar 2011 1:01 PM #1
[OPEN-EXTJSIV-258] bug: window hide makes use of undefined function
[OPEN-EXTJSIV-258] bug: window hide makes use of undefined function
Version: EXTJS 4.0 pr 5
Issue: Windows that hide and are suppose to animate to an animateTarget produces errors in the javascript console.
Block of code below was extracted from gmap window example and modified to produce the error. Error is in ext-all-debug.js line 88042.
Code:Ext.get('show-btn').on('click', function() { // create the window on the first click and reuse on subsequent clicks if(!mapwin){ mapwin = Ext.create('Ext.Window', { layout: 'fit', title: 'GMap Window', closeAction: 'hide', animateTarget: Ext.get('show-btn'), //<---- this will cause the error width:450, height:450, x: 40, y: 60, items: { xtype: 'gmappanel', zoomLevel: 14, gmapType: 'map', mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'], mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'], setCenter: { geoCodeAddr: '4 Yawkey Way, Boston, MA, 02215-3409, USA', marker: {title: 'Fenway Park'} }, markers: [{ lat: 42.339641, lng: -71.094224, marker: {title: 'Boston Museum of Fine Arts'}, listeners: { click: function(e){ Ext.Msg.alert({title: 'Its fine', text: 'and its art.'}); } } },{ lat: 42.339419, lng: -71.09077, marker: {title: 'Northeastern University'} }] } }); } mapwin.show(); });
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-EXTJSIV-248] Window with Title, Border issue
By MrSparks in forum Ext:BugsReplies: 1Last Post: 30 Mar 2011, 11:15 AM -
[CLOSED-EXTJSIV-202] Attempted to bind an event listener to a function that...
By kyr0 in forum Ext:BugsReplies: 2Last Post: 29 Mar 2011, 9:15 AM -
[FIXED-EXTJSIV-199] TablePanel: me.verticalScroller is undefined
By uzver in forum Ext:BugsReplies: 1Last Post: 24 Mar 2011, 11:07 AM -
[OPEN- EXTJSIV-266] root is undefined [Break On This Error] total = root.length,
By oe.elvik in forum Ext:BugsReplies: 1Last Post: 23 Mar 2011, 1:58 AM -
[OPEN-EXTJSIV-195] combobox error: me.dom.className is undefined
By oaugustus in forum Ext:BugsReplies: 1Last Post: 21 Mar 2011, 7:30 AM


Reply With Quote