mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +00:00
comment out some console.log()
This commit is contained in:
parent
60bcd68fb5
commit
9b37415473
|
@ -166,6 +166,12 @@ $(document).ready( function() {
|
||||||
}
|
}
|
||||||
}); /* }}} */
|
}); /* }}} */
|
||||||
|
|
||||||
|
$('body').on('click', '#clipboard-float', function(ev) { /* {{{ */
|
||||||
|
ev.preventDefault();
|
||||||
|
ev.stopPropagation();
|
||||||
|
$('#clipboard-container').toggleClass('clipboard-container');
|
||||||
|
}); /* }}} */
|
||||||
|
|
||||||
$('body').on('click', 'a.addtoclipboard', function(ev) { /* {{{ */
|
$('body').on('click', 'a.addtoclipboard', function(ev) { /* {{{ */
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
|
@ -762,7 +768,7 @@ $(document).ready(function() { /* {{{ */
|
||||||
if(target_type == 'folder') {
|
if(target_type == 'folder') {
|
||||||
var files = e.originalEvent.dataTransfer.files;
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
if(files.length > 0) {
|
if(files.length > 0) {
|
||||||
console.log('Drop '+files.length+' files on '+target_type+' '+target_id);
|
// console.log('Drop '+files.length+' files on '+target_type+' '+target_id);
|
||||||
SeedDMSUpload.handleFileUpload(files,$(e.currentTarget),$('div.statusbar-container h1')/*$(e.currentTarget).find("span")*/);
|
SeedDMSUpload.handleFileUpload(files,$(e.currentTarget),$('div.statusbar-container h1')/*$(e.currentTarget).find("span")*/);
|
||||||
} else {
|
} else {
|
||||||
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
||||||
|
@ -863,14 +869,14 @@ $(document).ready(function() { /* {{{ */
|
||||||
} else if(target_type == 'document') {
|
} else if(target_type == 'document') {
|
||||||
var files = e.originalEvent.dataTransfer.files;
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
if(files.length > 0) {
|
if(files.length > 0) {
|
||||||
console.log('Drop '+files.length+' files on '+target_type+' '+target_id);
|
// console.log('Drop '+files.length+' files on '+target_type+' '+target_id);
|
||||||
SeedDMSUpload.handleFileUpload(files,$(e.currentTarget),$('div.statusbar-container h1')/*$(e.currentTarget).find("span")*/);
|
SeedDMSUpload.handleFileUpload(files,$(e.currentTarget),$('div.statusbar-container h1')/*$(e.currentTarget).find("span")*/);
|
||||||
} else {
|
} else {
|
||||||
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
||||||
source_type = source_info.type;
|
source_type = source_info.type;
|
||||||
source_id = source_info.id;
|
source_id = source_info.id;
|
||||||
formtoken = source_info.formtoken;
|
formtoken = source_info.formtoken;
|
||||||
console.log('Drop '+source_type+' '+source_id+' on '+target_type+' '+target_id);
|
// console.log('Drop '+source_type+' '+source_id+' on '+target_type+' '+target_id);
|
||||||
if(source_type == 'document') {
|
if(source_type == 'document') {
|
||||||
if(source_id != target_id) {
|
if(source_id != target_id) {
|
||||||
bootbox.dialog(trans.confirm_transfer_link_document, [{
|
bootbox.dialog(trans.confirm_transfer_link_document, [{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user