HomeHelpTrac

Changeset 15729 for trunk/inc


Ignore:
Timestamp:
12/07/11 00:37:50 (6 months ago)
Author:
Alexander Trofimov
Message:

Grid - duplicated queries problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/js/classes/BxDolGrid.js

    r15727 r15729  
    299299    }); 
    300300 
    301     jQuery('#' + this._sIdWrapper + ' *[bx_grid_action_independent]').bind('click', function () { 
    302         if ($(this).hasClass('bx-btn-disabled')) 
    303             return; 
    304         var sAction = $(this).attr('bx_grid_action_independent'); 
    305         var sActionConfirm = $(this).attr('bx_grid_action_confirm'); 
    306         $this.action (sAction, {}, '', false, sActionConfirm); 
    307     }); 
    308  
    309301    if (typeof(isSkipSearchInput) == 'undefined' || false == isSkipSearchInput) { 
     302 
     303        jQuery('#' + this._sIdWrapper + ' *[bx_grid_action_independent]').bind('click', function () { 
     304            if ($(this).hasClass('bx-btn-disabled')) 
     305                return; 
     306            var sAction = $(this).attr('bx_grid_action_independent'); 
     307            var sActionConfirm = $(this).attr('bx_grid_action_confirm'); 
     308            $this.action (sAction, {}, '', false, sActionConfirm); 
     309        });     
    310310 
    311311        jQuery('#bx-grid-search-' + this._sObject).bind({ 
Note: See TracChangeset for help on using the changeset viewer.