Changeset 1568 for FCKeditor/trunk


Ignore:
Timestamp:
02/20/2008 10:46:22 AM (7 years ago)
Author:
martinkou
Message:

Fixed #970 : The text and value fields in the selection box dialog will no longer extend beyond the dialog limits when the user inputs a very long text or value for one of the selection options.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r1566 r1568  
    109109                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom error messages are now
    110110                        properly displayed in the file browser.</li>
     111                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text and value fields in
     112                        the selection box dialog will no longer extend beyond the dialog limits when the user inputs a very
     113                        long text or value for one of the selection options.</li>
    111114        </ul>
    112115        <p>
  • FCKeditor/trunk/editor/dialog/fck_select.html

    r1565 r1568  
    4949        oListText       = document.getElementById( 'cmbText' ) ;
    5050        oListValue      = document.getElementById( 'cmbValue' ) ;
     51
     52        // Fix the lists widths. (Bug #970)
     53        oListText.style.width = oListText.offsetWidth ;
     54        oListValue.style.width = oListValue.offsetWidth ;
    5155
    5256        if ( oActiveEl && oActiveEl.tagName == 'SELECT' )
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy