-
27 Oct 2012 8:12 AM #1
Bug in Ext.dom.Element.syncContent
Bug in Ext.dom.Element.syncContent
REQUIRED INFORMATION
Ext version tested:- Ext 4.1.1
This:
Should be:Code:if (sourceLen !== destLen) { source.innerHTML = dest.innerHTML; return; }
Code:if (sourceLen !== destLen) { dest.innerHTML = source.innerHTML; return; }
Steps to reproduce the problem:- syncContent a container with many nodes
- dest = source
- source = dest
Override syncContent, but it is created using addMethods so we need to do a bit of a hack. Any better ways to do this?
Code:Ext.require('Ext.dom.Element', function() { Ext.dom.Element.override({ syncContent: function(source){...} }); });Last edited by Ilianh; 27 Oct 2012 at 8:16 AM. Reason: Misplaced bracket
-
27 Oct 2012 9:19 AM #2
Yes, this blunder was fixed in 4.1.2!
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
27 Oct 2012 9:48 AM #3
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote