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

Commit ce3cf85

Browse files
committed
ENH: Refs #0447. Fixed the broken viewInfo sidebar and updated function names to comply with js refactoreing.
1 parent b02a741 commit ce3cf85

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

core/public/js/browse/browse.movecopy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ $(document).ready(
2828
return false;
2929
});
3030
}
31-
$('img.infoLoading').show();
32-
$('div.ajaxInfoElement').html('');
3331
});
3432

3533
//dependance: common/browser.js

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ midas.createAction = function (node) {
340340
}
341341
}
342342
if(type == 'item') {
343-
var from = parentOf(node);
343+
var from = midas.parentOf(node);
344344
var fromFolder = from.attr('element');
345345
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>';
346346
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>';

0 commit comments

Comments
 (0)