Changeset 5105


Ignore:
Timestamp:
02/12/10 13:50:05 (4 years ago)
Author:
garry.yao
Message:

Fixing #5127: Safe guard the page element retrieving logics in dialog system.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r5104 r5105  
    9191                <li><a href="http://dev.fckeditor.net/ticket/4886">#4886</a> : Extra BR tags were being created in the output HTML.</li> 
    9292                <li><a href="http://dev.fckeditor.net/ticket/4933">#4933</a> : Empty tags with BR were being left in the DOM.</li> 
     93                <li><a href="http://dev.fckeditor.net/ticket/5127">#5127</a> : Remove dialog definition pages somtimes been error prone.</li> 
    9394                <li>Updated the following language files:<ul> 
    9495                        <li><a href="http://dev.fckeditor.net/ticket/5006">#5006</a> : Dutch;</li> 
  • CKEditor/trunk/_source/plugins/dialog/plugin.js

    r4992 r5105  
    950950                getContentElement : function( pageId, elementId ) 
    951951                { 
    952                         return this._.contents[pageId][elementId]; 
     952                        var page = this._.contents[ pageId ]; 
     953                        return page && page[ elementId ]; 
    953954                }, 
    954955 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy