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

Commit ec12cdb

Browse files
committed
BUG: Refs #0483. Updated comments.
1 parent 231621f commit ec12cdb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/public/js/common/common.browser.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,10 @@ midas.createAction = function (node) {
344344
}
345345
if(type == 'item') {
346346
var from = midas.parentOf(node);
347-
// we are in a subfolder view and the parent is the current folder
348347
if(from) {
349348
var fromFolder = from.attr('element');
350349
}
351-
else {
350+
else { // we are in a subfolder view and the parent is the current folder
352351
var fromFolder = json.folder.folder_id;
353352
}
354353
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>';

0 commit comments

Comments
 (0)