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

Commit

Permalink
BUG: Refs #0309. For the default 'Public' and 'Private' folders, 'Per…
Browse files Browse the repository at this point in the history
…missions' link is shown,

'Edit' and 'Delete' link is hidden.
  • Loading branch information
yuzhengZ committed Nov 21, 2011
1 parent ff395f2 commit 0f03b08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/public/js/common/common.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ function createAction(node)
{
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/FileTree/directory.png"/> <a onclick="createNewFolder('+element+');">'+json.browse.createFolder+'</a></li>';
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/upload.png"/> <a rel="'+json.global.webroot+'/upload/simpleupload/?parent='+element+'" class="uploadInFolder">'+json.browse.uploadIn+'</a></li>';
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/edit.png"/> <a onclick="editFolder('+element+');">'+json.browse.edit+'</a></li>';
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/share.png"/> <a type="folder" element="'+element+'" class="sharingLink">'+json.browse.share+'</a></li>';
if(node.attr('deletable')!=undefined && node.attr('deletable')=='true')
{
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/share.png"/> <a type="folder" element="'+element+'" class="sharingLink">'+json.browse.share+'</a></li>';
{
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/edit.png"/> <a onclick="editFolder('+element+');">'+json.browse.edit+'</a></li>';
html+='<li><img alt="" src="'+json.global.coreWebroot+'/public/images/icons/close.png"/> <a onclick="deleteFolder('+element+');">'+json.browse['delete']+'</a></li>';
}
}
Expand Down

0 comments on commit 0f03b08

Please sign in to comment.