Skip to content
Permalink
Browse files

save some typing when getting the admin object. Mark the type column …

…as not sortable since it isn't an asset property.
  • Loading branch information...
perlDreamer committed Oct 2, 2011
1 parent f20302c commit 3de9a22bc4a6b63eb78031cc9c2cde7cfd2c1d96
Showing with 6 additions and 6 deletions.
  1. +6 −6 www/extras/admin/admin.js
@@ -1412,25 +1412,25 @@ WebGUI.Admin.AssetTable
},
{
key: 'title',
label: window.admin.i18n.get('Asset', '99'),
label: admin.i18n.get('Asset', '99'),
formatter: bind( this, this.formatTitle ),
sortable: true
},
{
key: 'type',
label: window.admin.i18n.get('Asset','type'),
sortable: true,
label: admin.i18n.get('Asset','type'),
sortable: false,
formatter: bind( this, this.formatType )
},
{
key: 'revisionDate',
label: window.admin.i18n.get('Asset','revision date' ),
label: admin.i18n.get('Asset','revision date' ),
formatter: bind( this, this.formatRevisionDate ),
sortable: true
},
{
key: 'assetSize',
label: window.admin.i18n.get('Asset','size' ),
label: admin.i18n.get('Asset','size' ),
formatter: bind( this, this.formatAssetSize ),
sortable: true
},
@@ -2511,7 +2511,7 @@ WebGUI.Admin.Search.prototype.addFilter

var type = menuitem.value;
filter.type = type;
li.className = "filter_" + filter.type;
li.mlassName = "filter_" + filter.type;

var ul = this.searchFiltersContainer;
ul.appendChild( li );

0 comments on commit 3de9a22

Please sign in to comment.
You can’t perform that action at this time.