Changeset 4443


Ignore:
Timestamp:
11/10/2009 07:11:46 AM (5 years ago)
Author:
garry.yao
Message:

Fixing #4401 : customized by removing 'upload' tab page from 'Link dialog' cause JavaScript error.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4442 r4443  
    4848                <li><a href="http://dev.fckeditor.net/ticket/3918">#3918</a> : Fixed fake object is editable with Image dialog.</li> 
    4949                <li><a href="http://dev.fckeditor.net/ticket/4053">#4053</a> : Fixed 'Form Properties' missing from context menu when selection collapsed inside form.</li> 
     50                <li><a href="http://dev.fckeditor.net/ticket/4401">#4401</a> : Fixed customized by removing 'upload' tab page from 'Link dialog' cause JavaScript error.</li> 
    5051        </ul> 
    5152        <h3> 
  • CKEditor/trunk/_source/plugins/link/dialogs/link.js

    r3943 r4443  
    3838                        partIds = [ 'urlOptions', 'anchorOptions', 'emailOptions' ], 
    3939                        typeValue = this.getValue(), 
    40                         uploadInitiallyHidden = dialog.definition.getContents( 'upload' ).hidden; 
     40                        uploadTab = dialog.definition.getContents( 'upload' ), 
     41                        uploadInitiallyHidden = uploadTab && uploadTab.hidden; 
    4142 
    4243                if ( typeValue == 'url' ) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy