Changeset 933

Show
Ignore:
Timestamp:
12/15/06 18:40:03 (2 years ago)
Author:
lknowland
Message:

Changed the "close" links to use toggleAssetDetails() instead of hide() so as to deal with returning the row to its correct class.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/mt-static/js/assetdetail.js

    r924 r933  
    7777    } 
    7878    var close = trans('Close'); 
    79     var close_link = "<a href=\"javascript:void(0)\" onclick=\"hide('asset-" + id + "-detail'); notOpened('" + id + "'); toggleScrollBar('right');\">" + close + "</a>"; 
    80     var close_icon = "<a href=\"javascript:void(0)\" onclick=\"hide('asset-" + id + "-detail'); notOpened('" + id + "'); toggleScrollBar('right');\"><img class=\"close_asset_icon\" align=\"bottom\" src=\"" + StaticURI + "images/spacer.gif\" width=\"9\" height=\"9\"></a>"; 
     79    var close_link = "<a href=\"javascript:void(0)\" onclick=\"toggleAssetDetails('" + id + "'); notOpened('" + id + "');\">" + close + "</a>"; 
     80    var close_icon = "<a href=\"javascript:void(0)\" onclick=\"toggleAssetDetails('" + id + "'); notOpened('" + id + "');\"><img class=\"close_asset_icon\" align=\"bottom\" src=\"" + StaticURI + "images/spacer.gif\" width=\"9\" height=\"9\"></a>"; 
    8181    var preview; 
    8282    if (asset.thumbnail_url) {