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

Commit

Permalink
Fix checked resource submenu
Browse files Browse the repository at this point in the history
Fixes #139.
  • Loading branch information
Jamie Snape committed Oct 20, 2015
1 parent a6c839f commit 9d31df4
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 @@ -78,16 +78,16 @@ midas.genericCallbackCheckboxes = function (node) {
if (json.global.logged) {
links += '<li style="background-color: white;">';
links += ' <img alt="" src="' + json.global.coreWebroot + '/public/images/icons/close.png"/> ';
links += ' <a onclick="midas.deleteSelected("' + folders + '","' + items + '")">' + json.browse.deleteSelected + '</a></li>';
links += ' <a onclick="midas.deleteSelected(\'' + folders + '\',\'' + items + '\')">' + json.browse.deleteSelected + '</a></li>';
links += '</li>';
links += '<li>';
links += '<img alt="" src="' + json.global.coreWebroot + '/public/images/icons/move.png"/> ';
links += '<a onclick="midas.moveSelected("' + folders + '","' + items + '")" element="' + items + '">Move all selected</a>';
links += '<a onclick="midas.moveSelected(\'' + folders + '\',\'' + items + '\')" element="' + items + '">Move all selected</a>';
links += '</li>';
if (arraySelected['items'].length > 0) {
links += '<li style="background-color: white;">';
links += ' <img alt="" src="' + json.global.coreWebroot + '/public/images/icons/copy.png"/> ';
links += ' <a onclick="midas.duplicateSelected("' + folders + '","' + items + '")">' + json.browse.duplicateSelected + '</a></li>';
links += ' <a onclick="midas.duplicateSelected(\'' + folders + '\',\'' + items + '\')">' + json.browse.duplicateSelected + '</a></li>';
links += '</li>';
}
if (arraySelected['items'].length > 1 && arraySelected['folders'].length === 0) {
Expand Down

0 comments on commit 9d31df4

Please sign in to comment.