fixed: Asset manager can now update ranks again

This commit is contained in:
Doug Bell 2008-06-13 21:45:09 +00:00
parent 8b2eee05b7
commit 0c13afe4de
2 changed files with 2 additions and 1 deletions

View file

@ -145,7 +145,7 @@ WebGUI.AssetManager.formatLockedBy
WebGUI.AssetManager.formatRank
= function ( elCell, oRecord, oColumn, orderNumber ) {
var rank = oRecord.getData("lineage").match(/[1-9][0-9]{0,5}$/);
elCell.innerHTML = '<input type="text" name="' + oRecord.getData("assetId") + '"_rank" '
elCell.innerHTML = '<input type="text" name="' + oRecord.getData("assetId") + '_rank" '
+ 'value="' + rank + '" size="3" '
+ 'onchange="WebGUI.AssetManager.selectRow( this )" />';
};