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

Commit

Permalink
BUG: Refs #0483. Updated comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhengZ committed Jan 24, 2012
1 parent 231621f commit ec12cdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/public/js/common/common.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,10 @@ midas.createAction = function (node) {
}
if(type == 'item') {
var from = midas.parentOf(node);
// we are in a subfolder view and the parent is the current folder
if(from) {
var fromFolder = from.attr('element');
}
else {
else { // we are in a subfolder view and the parent is the current folder
var fromFolder = json.folder.folder_id;
}
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>';
Expand Down

0 comments on commit ec12cdb

Please sign in to comment.