- Timestamp:
- 02/03/12 01:15:12 (4 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
inc/js/classes/BxDolGrid.js (modified) (1 diff)
-
samples/BxGridMy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/js/classes/BxDolGrid.js
r15943 r15944 56 56 57 57 BxDolGrid.prototype.setFilter = function (sFilter, isReload) { 58 59 if (this._sFilter == sFilter) 60 return; 61 58 62 this._sFilter = sFilter; 59 if (isReload) 60 if (sFilter.length > 0) { 63 64 if (isReload) { 65 if (sFilter.length > 0) 61 66 this.reload(0); 62 } else {67 else 63 68 this.reload(); 64 }69 } 65 70 } 66 71 -
trunk/samples/BxGridMy.php
r15856 r15944 252 252 protected function _getCellHeaderStatus ($sKey, $aField) { 253 253 $s = parent::_getCellHeaderDefault($sKey, $aField); 254 return preg_replace ('/<th(.*?)>(.*?)<\/th>/', '<th$1><img src="' . BxDolTemplate::getInstance()->getIconUrl(' user.png') . '"></th>', $s);254 return preg_replace ('/<th(.*?)>(.*?)<\/th>/', '<th$1><img src="' . BxDolTemplate::getInstance()->getIconUrl('cmt-female.gif') . '"></th>', $s); 255 255 } 256 256
Note: See TracChangeset
for help on using the changeset viewer.