HomeHelpTrac

Changeset 15704 for trunk/inc


Ignore:
Timestamp:
11/28/11 01:06:42 (6 months ago)
Author:
Alexander Trofimov
Message:

Grid - selected and disabled rows

File:
1 edited

Legend:

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

    r15682 r15704  
    145145    }); 
    146146 
     147    if (!sDataAdd.length) 
     148        return; 
     149 
    147150    if (typeof(sData) == "undefined" || !sData.length) { 
    148151        sData = sDataAdd; 
     
    242245 
    243246    jQuery('#' + this._sIdWrapper + ' *[bx_grid_action_bulk]').bind('click', function () { 
     247        if ($(this).hasClass('bx-btn-disabled')) 
     248            return; 
    244249        var sAction = $(this).attr('bx_grid_action_bulk'); 
    245250        var sActionConfirm = $(this).attr('bx_grid_action_confirm'); 
     
    249254 
    250255    jQuery('#' + this._sIdWrapper + ' *[bx_grid_action_single]').bind('click', function () { 
     256        if ($(this).hasClass('bx-btn-disabled')) 
     257            return; 
    251258        var sAction = $(this).attr('bx_grid_action_single'); 
    252259        var sActionConfirm = $(this).attr('bx_grid_action_confirm'); 
     
    256263 
    257264    jQuery('#' + this._sIdWrapper + ' *[bx_grid_action_independent]').bind('click', function () { 
     265        if ($(this).hasClass('bx-btn-disabled')) 
     266            return; 
    258267        var sAction = $(this).attr('bx_grid_action_independent'); 
    259268        var sActionConfirm = $(this).attr('bx_grid_action_confirm'); 
Note: See TracChangeset for help on using the changeset viewer.