|
|
@ -1835,7 +1835,7 @@ define([
|
|
|
|
var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' :
|
|
|
|
var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' :
|
|
|
|
ro ? ' cp-app-drive-element-readonly' : '';
|
|
|
|
ro ? ' cp-app-drive-element-readonly' : '';
|
|
|
|
var $element = $('<li>', {
|
|
|
|
var $element = $('<li>', {
|
|
|
|
'class': 'cp-app-drive-element cp-app-drive-element-row' + roClass,
|
|
|
|
'class': 'cp-app-drive-element cp-app-drive-element-file cp-app-drive-element-row' + roClass,
|
|
|
|
draggable: draggable
|
|
|
|
draggable: draggable
|
|
|
|
});
|
|
|
|
});
|
|
|
|
if (Array.isArray(APP.selectedFiles)) {
|
|
|
|
if (Array.isArray(APP.selectedFiles)) {
|
|
|
@ -2011,7 +2011,7 @@ define([
|
|
|
|
var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' :
|
|
|
|
var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' :
|
|
|
|
ro ? ' cp-app-drive-element-readonly' : '';
|
|
|
|
ro ? ' cp-app-drive-element-readonly' : '';
|
|
|
|
var $element = $('<li>', {
|
|
|
|
var $element = $('<li>', {
|
|
|
|
'class': 'cp-app-drive-element cp-app-drive-element-row' + roClass,
|
|
|
|
'class': 'cp-app-drive-element cp-app-drive-element-file cp-app-drive-element-row' + roClass,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
addFileData(id, $element);
|
|
|
|
addFileData(id, $element);
|
|
|
|
$element.prepend($icon).dblclick(function () {
|
|
|
|
$element.prepend($icon).dblclick(function () {
|
|
|
|