mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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) { /* {{{ */
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
|
@ -762,7 +768,7 @@ $(document).ready(function() { /* {{{ */
|
|||
if(target_type == 'folder') {
|
||||
var files = e.originalEvent.dataTransfer.files;
|
||||
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")*/);
|
||||
} else {
|
||||
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
||||
|
@ -863,14 +869,14 @@ $(document).ready(function() { /* {{{ */
|
|||
} else if(target_type == 'document') {
|
||||
var files = e.originalEvent.dataTransfer.files;
|
||||
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")*/);
|
||||
} else {
|
||||
var source_info = JSON.parse(e.originalEvent.dataTransfer.getData("text"));
|
||||
source_type = source_info.type;
|
||||
source_id = source_info.id;
|
||||
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_id != target_id) {
|
||||
bootbox.dialog(trans.confirm_transfer_link_document, [{
|
||||
|
|
Loading…
Reference in New Issue
Block a user