HomeHelpTrac

Changeset 15899


Ignore:
Timestamp:
01/19/12 02:57:10 (4 months ago)
Author:
Leonid Sokushev
Message:

ticket #2740

Location:
tags/7.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tags/7.0/administration/pageBuilder.php

    r15200 r15899  
    3838 
    3939$GLOBALS['oAdmTemplate']->addJsTranslation(array( 
    40     '_adm_btn_Column', '_Are you sure?', 
     40    '_adm_btn_Column', '_Are you sure?', '_Empty' 
    4141)); 
    4242 
  • tags/7.0/inc/classes/BxDolPageViewAdmin.php

    r15380 r15899  
    321321        "; 
    322322        db_res( $sQuery ); 
    323          
    324         echo _t( process_pass_data($aData['Caption']) ); 
     323        $sCaption = process_pass_data($aData['Caption']); 
     324                if (mb_strlen($sCaption) == 0) 
     325                    $sCaption = '_Empty'; 
     326        echo _t($sCaption); 
    325327    } 
    326328     
  • tags/7.0/inc/js/classes/BxDolPageBuilder.js

    r15380 r15899  
    2929    this.eAllAreas    = $(this.activeArea).add(this.inactiveArea).add(this.samplesArea).parent().parent().get(0); 
    3030     
    31     $.getJSON( this.options.parser, {action:'load', Page: this.options.page}, function( oJSON ){ _builder.loadJSON( oJSON ) } ); 
     31    $.getJSON( this.options.parser, {action:'load', Page: this.options.page}, function( oJSON ){_builder.loadJSON( oJSON )} ); 
    3232} 
    3333 
     
    200200            .appendTo( $block ) 
    201201            .hover(  
    202                 function(){ showFloatDesc( _t('_adm_pbuilder_Column_non_enough_width_warn', iBlockMinWidth)); }, 
    203                 function(){ hideFloatDesc(); } 
     202                function(){showFloatDesc( _t('_adm_pbuilder_Column_non_enough_width_warn', iBlockMinWidth));}, 
     203                function(){hideFloatDesc();} 
    204204            ) 
    205             .mousemove( function(e){ moveFloatDesc( e ) } ); 
     205            .mousemove( function(e){moveFloatDesc( e )} ); 
    206206        } 
    207207    } 
     
    407407        placeholder: 'buildColumn ui-sortable-placeholder', 
    408408        forcePlaceholderSize: true, 
    409         stop: function() { _builder.columnsStopSort(); } 
     409        stop: function() {_builder.columnsStopSort();} 
    410410    }); 
    411411     
     
    520520BxDolPageBuilder.prototype.drawBlock = function( iBlockID, sBlockCaption, eColumnCont ) { 
    521521    var _builder = this; 
    522      
     522    if (sBlockCaption.length == 0) 
     523            sBlockCaption = _t('_Empty'); 
    523524    $( 
    524525        '<div class="buildBlock" id="buildBlock_' + iBlockID + '">' + 
Note: See TracChangeset for help on using the changeset viewer.