HomeHelpTrac

Changeset 15980


Ignore:
Timestamp:
02/13/12 02:55:25 (3 months ago)
Author:
Anton Lesnikov
Message:
  1. Minor fixes and improvements.
  2. Issue with JavaScript? off in Grids -> Filter panel.
Location:
trunk/studio
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/studio/js/permissions_prices.js

    r15794 r15980  
    1919 
    2020BxDolStudioPermissionsPrices.prototype.onChangeLevel = function() { 
    21     var iLevel = parseInt($('#bx-grid-level-' + this.sObjNameGrid).val()); 
     21    var iLevel = parseInt($('#bx-grid-level-' + this.sObjNameGrid).val().replace('id-', '')); 
    2222    document.location.href = this.sPageUrl + (iLevel > 0 ? '&level=' + iLevel : '');  
    2323}; 
  • trunk/studio/templates/base/scripts/BxBaseStudioFormsDisplays.php

    r15953 r15980  
    234234            'attrs' => array( 
    235235                'id' => 'bx-grid-search-' . $this->_sObject, 
    236                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     236                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    237237            ) 
    238238        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioFormsForms.php

    r15953 r15980  
    208208            'attrs' => array( 
    209209                'id' => 'bx-grid-search-' . $this->_sObject, 
    210                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     210                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    211211            ) 
    212212        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationImport.php

    r15971 r15980  
    185185            'attrs' => array( 
    186186                'id' => 'bx-grid-search-' . $this->_sObject, 
    187                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     187                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    188188            ) 
    189189        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationItems.php

    r15975 r15980  
    778778            'attrs' => array( 
    779779                'id' => 'bx-grid-search-' . $this->_sObject, 
    780                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     780                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    781781            ) 
    782782        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationMenus.php

    r15975 r15980  
    549549            'attrs' => array( 
    550550                'id' => 'bx-grid-search-' . $this->_sObject, 
    551                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     551                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    552552            ) 
    553553        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioNavigationSets.php

    r15953 r15980  
    362362            'attrs' => array( 
    363363                'id' => 'bx-grid-search-' . $this->_sObject, 
    364                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     364                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    365365            ) 
    366366        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioPermissionsActions.php

    r15971 r15980  
    262262                'onChange' => 'javascript:' . $this->getJsObject() . '.onChangeLevel()' 
    263263            ), 
    264             'value' => $this->iLevel, 
     264            'value' => 'id-' . $this->iLevel, 
    265265            'values' => array() 
    266266        ); 
     
    299299            'attrs' => array( 
    300300                'id' => 'bx-grid-search-' . $this->_sObject, 
    301                 'onKeyup' => 'javascript:$(this).off(); ' . $this->getJsObject() . '.onChangeFilter()'  
     301                'onKeyup' => 'javascript:$(this).off(\'keyup\'); ' . $this->getJsObject() . '.onChangeFilter()'  
    302302            ) 
    303303        ); 
  • trunk/studio/templates/base/scripts/BxBaseStudioPermissionsPrices.php

    r15953 r15980  
    329329                'onChange' => 'javascript:' . $this->getJsObject() . '.onChangeLevel()' 
    330330            ), 
    331             'value' => $this->iLevel, 
     331            'value' => 'id-' . $this->iLevel, 
    332332            'values' => array() 
    333333        ); 
Note: See TracChangeset for help on using the changeset viewer.