Development

Changeset 8471

You must first sign up to be able to contribute.

Changeset 8471

Show
Ignore:
Timestamp:
04/15/08 16:29:16 (7 months ago)
Author:
Leon.van.der.Ree
Message:

bug-fix: setting fieldsets "required class"
fix for tinyMCE-field allowing to not have a statusbar

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/lib/sfExtjsPropelAdminGenerator.php

    r8383 r8471  
    13921392 
    13931393    $columnDef = $this->getColumnAjaxDefinition($column, $options, 'edit', $groupedColumns); 
    1394     $cls=''; if (isset($columnDef['options']['allowBlank']) && ($columnDef['options']['allowBlank']===false)) $cls = ' class="required"'; 
     1394    $cls=''; if (isset($columnDef['options']['allowBlank']) && ($columnDef['options']['allowBlank']==='false')) $cls = ' class="required"'; 
    13951395 
    13961396  ?> 
  • plugins/sfExtjsThemePlugin/web/js/ext.ux.tinymce/Ext.ux.TinyMCE.js

    r8379 r8471  
    204204            } 
    205205             
    206             var sbar = t.select( "td.mceStatusbar > div" ).first().first(); 
    207             if( sbar ) { 
    208               h += sbar.getHeight() + 5; 
    209               sbar.setWidth( aw - 2 ); 
    210             } 
     206            var mceStatusbar = t.select( "td.mceStatusbar > div" ); 
     207            if ( mceStatusbar ) 
     208            { 
     209              var mceStatusbar_first = mceStatusbar.first(); 
     210              if ( mceStatusbar_first ) 
     211              { 
     212                var sbar = mceStatusbar_first.first(); 
     213                if( sbar ) { 
     214                  h += sbar.getHeight() + 5; 
     215                  sbar.setWidth( aw - 2 ); 
     216                } 
     217              } 
     218            } 
    211219             
    212220            t.select( "td.mceIframeContainer > iframe" ).first().setHeight( ah - h );