#2990: wrong IsDirty() after GetData() execution
--------------------------------+-------------------------------------------
 Reporter:  kudr2001            |       Owner:                 
     Type:  Bug                 |      Status:  new            
 Priority:  Normal              |   Milestone:                 
Component:  Core : Output Data  |     Version:  FCKeditor 2.6.4
 Keywords:                      |  
--------------------------------+-------------------------------------------
 1. Before call of GetData() the value of IsDirty() was false.
 2. After call of GetData() the value of IsDirty() became true.
 FF3. Easy to reproduce.

 I think the problem in FCKXHtml.GetXHTML().
 There's a function call
 "FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),
 FCKConfig.EnterMode);" which makes trouble.

 I quick_fixed it by inserting "if (!D) FCK.ResetIsDirty();" after
 EnforcePaddingNode.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2990>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to