|
|
|
@ -327,34 +327,6 @@ define([
|
|
|
|
|
'tabindex': '-1',
|
|
|
|
|
'data-icon': faColor,
|
|
|
|
|
}, Messages.fc_color)),
|
|
|
|
|
// h('li.dropdown-submenu', [
|
|
|
|
|
// h('a.cp-app-drive-context-test.dropdown-item', {
|
|
|
|
|
// 'tabindex': '-1',
|
|
|
|
|
// 'data-icon': faFolderOpen,
|
|
|
|
|
// }, "TEST"),
|
|
|
|
|
// h("ul.dropdown-menu", [
|
|
|
|
|
// h('li', h('a.cp-app-drive-context-subtest1.dropdown-item', {
|
|
|
|
|
// 'tabindex': '-1',
|
|
|
|
|
// 'data-icon': faFolderOpen,
|
|
|
|
|
// }, "Sub test 1")),
|
|
|
|
|
// h('li.dropdown-submenu', [
|
|
|
|
|
// h('a.cp-app-drive-context-test.dropdown-item', {
|
|
|
|
|
// 'tabindex': '-1',
|
|
|
|
|
// 'data-icon': faFolderOpen,
|
|
|
|
|
// }, "TEST"),
|
|
|
|
|
// h("ul.dropdown-menu", [
|
|
|
|
|
// h('li', h('a.cp-app-drive-context-subtest2.dropdown-item', {
|
|
|
|
|
// 'tabindex': '-1',
|
|
|
|
|
// 'data-icon': faFolderOpen,
|
|
|
|
|
// }, "Sub test 2")),
|
|
|
|
|
// h('li', h('a.cp-app-drive-context-subtest3.dropdown-item', {
|
|
|
|
|
// 'tabindex': '-1',
|
|
|
|
|
// 'data-icon': faFolderOpen,
|
|
|
|
|
// }, "Sub test 3")),
|
|
|
|
|
// ]),
|
|
|
|
|
// ]),
|
|
|
|
|
// ]),
|
|
|
|
|
// ]),
|
|
|
|
|
h('li', h('a.cp-app-drive-context-download.dropdown-item', {
|
|
|
|
|
'tabindex': '-1',
|
|
|
|
|
'data-icon': faDownload,
|
|
|
|
@ -1115,7 +1087,7 @@ define([
|
|
|
|
|
show = ['newfolder', 'newsharedfolder', 'newdoc'];
|
|
|
|
|
break;
|
|
|
|
|
case 'tree':
|
|
|
|
|
show = ['open', 'openro', 'expandall', 'collapseall', 'color', 'download', 'share', 'rename', 'delete', 'deleteowned', 'removesf', 'properties', 'hashtag', 'subtest1', 'subtest2', 'subtest3'];
|
|
|
|
|
show = ['open', 'openro', 'expandall', 'collapseall', 'color', 'download', 'share', 'rename', 'delete', 'deleteowned', 'removesf', 'properties', 'hashtag'];
|
|
|
|
|
break;
|
|
|
|
|
case 'default':
|
|
|
|
|
show = ['open', 'openro', 'share', 'openparent', 'delete', 'deleteowned', 'properties', 'hashtag'];
|
|
|
|
|