Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
ENH: Refs #0447. Fixed the broken viewInfo sidebar and updated functi…
Browse files Browse the repository at this point in the history
…on names to comply with js refactoreing.
  • Loading branch information
yuzhengZ committed Jan 23, 2012
1 parent b02a741 commit ce3cf85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions core/public/js/browse/browse.movecopy.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ $(document).ready(
return false;
});
}
$('img.infoLoading').show();
$('div.ajaxInfoElement').html('');
});

//dependance: common/browser.js
Expand Down
2 changes: 1 addition & 1 deletion core/public/js/common/common.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ midas.createAction = function (node) {
}
}
if(type == 'item') {
var from = parentOf(node);
var from = midas.parentOf(node);
var fromFolder = from.attr('element');
html += '<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/view.png"/> <a href="'+json.global.webroot+'/item/'+element+'">'+json.browse.view+'</a></li>';
html += '<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/download.png"/> <a href="'+json.global.webroot+'/download?items='+element+'">'+json.browse.downloadLatest+'</a></li>';
Expand Down

0 comments on commit ce3cf85

Please sign in to comment.