Ability to import mediatags to the drive
This commit is contained in:
@@ -148,19 +148,6 @@
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.cp-app-drive-context {
|
||||
display: none;
|
||||
position: absolute;
|
||||
z-index: 500;
|
||||
li {
|
||||
padding: 0;
|
||||
font-size: @colortheme_app-font-size;
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cp-app-drive-element-droppable {
|
||||
background-color: #FE9A2E;
|
||||
color: #222;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<style>
|
||||
.loading-hidden { display: none; }
|
||||
#editor1 { display: none; }
|
||||
.cp-app-drive-context { display: none; }
|
||||
.cp-contextmenu { display: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="cp-app-drive">
|
||||
|
||||
@@ -244,7 +244,7 @@ define([
|
||||
};
|
||||
|
||||
var createContextMenu = function () {
|
||||
var menu = h('div.cp-app-drive-context.dropdown.cp-unselectable', [
|
||||
var menu = h('div.cp-contextmenu.dropdown.cp-unselectable', [
|
||||
h('ul.dropdown-menu', {
|
||||
'role': 'menu',
|
||||
'aria-labelledby': 'dropdownMenu',
|
||||
@@ -2594,12 +2594,12 @@ define([
|
||||
$li = findDataHolder($tree.find('.cp-app-drive-element-active'));
|
||||
}
|
||||
// Close if already opened
|
||||
if ($('.cp-app-drive-context:visible').length) {
|
||||
if ($('.cp-contextmenu:visible').length) {
|
||||
APP.hideMenu();
|
||||
return;
|
||||
}
|
||||
// Open the menu
|
||||
$('.cp-app-drive-context').css({
|
||||
$('.cp-contextmenu').css({
|
||||
top: ($context.offset().top + 32) + 'px',
|
||||
right: '0px',
|
||||
left: ''
|
||||
|
||||
Reference in New Issue
Block a user