mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-13 03:23:59 +02:00
remove some debug outputs
This commit is contained in:
@@ -2056,14 +2056,12 @@ function IFM( params ) {
|
|||||||
$(document).on( 'dragover', function( e ) {
|
$(document).on( 'dragover', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
$('#filedropoverlay').css( 'display', 'block' );
|
$('#filedropoverlay').css( 'display', 'block' );
|
||||||
});
|
});
|
||||||
$( '#filedropoverlay' )
|
$( '#filedropoverlay' )
|
||||||
.on( 'drop', function( e ) {
|
.on( 'drop', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
var files = e.originalEvent.dataTransfer.files;
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
for( var i = 0; i < files.length; i++ ) {
|
for( var i = 0; i < files.length; i++ ) {
|
||||||
self.uploadFile( files[i] );
|
self.uploadFile( files[i] );
|
||||||
@@ -3078,7 +3076,6 @@ class IFMArchive {
|
|||||||
if( ! file_exists( $file ) )
|
if( ! file_exists( $file ) )
|
||||||
return false;
|
return false;
|
||||||
$tar = new PharData( $file );
|
$tar = new PharData( $file );
|
||||||
file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) );
|
|
||||||
try {
|
try {
|
||||||
$tar->extractTo( $destination, null, true );
|
$tar->extractTo( $destination, null, true );
|
||||||
return true;
|
return true;
|
||||||
|
3
ifm.php
3
ifm.php
@@ -2056,14 +2056,12 @@ function IFM( params ) {
|
|||||||
$(document).on( 'dragover', function( e ) {
|
$(document).on( 'dragover', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
$('#filedropoverlay').css( 'display', 'block' );
|
$('#filedropoverlay').css( 'display', 'block' );
|
||||||
});
|
});
|
||||||
$( '#filedropoverlay' )
|
$( '#filedropoverlay' )
|
||||||
.on( 'drop', function( e ) {
|
.on( 'drop', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
var files = e.originalEvent.dataTransfer.files;
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
for( var i = 0; i < files.length; i++ ) {
|
for( var i = 0; i < files.length; i++ ) {
|
||||||
self.uploadFile( files[i] );
|
self.uploadFile( files[i] );
|
||||||
@@ -3078,7 +3076,6 @@ class IFMArchive {
|
|||||||
if( ! file_exists( $file ) )
|
if( ! file_exists( $file ) )
|
||||||
return false;
|
return false;
|
||||||
$tar = new PharData( $file );
|
$tar = new PharData( $file );
|
||||||
file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) );
|
|
||||||
try {
|
try {
|
||||||
$tar->extractTo( $destination, null, true );
|
$tar->extractTo( $destination, null, true );
|
||||||
return true;
|
return true;
|
||||||
|
@@ -1317,14 +1317,12 @@ function IFM( params ) {
|
|||||||
$(document).on( 'dragover', function( e ) {
|
$(document).on( 'dragover', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
$('#filedropoverlay').css( 'display', 'block' );
|
$('#filedropoverlay').css( 'display', 'block' );
|
||||||
});
|
});
|
||||||
$( '#filedropoverlay' )
|
$( '#filedropoverlay' )
|
||||||
.on( 'drop', function( e ) {
|
.on( 'drop', function( e ) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
console.log( e );
|
|
||||||
var files = e.originalEvent.dataTransfer.files;
|
var files = e.originalEvent.dataTransfer.files;
|
||||||
for( var i = 0; i < files.length; i++ ) {
|
for( var i = 0; i < files.length; i++ ) {
|
||||||
self.uploadFile( files[i] );
|
self.uploadFile( files[i] );
|
||||||
|
@@ -78,7 +78,6 @@ class IFMArchive {
|
|||||||
if( ! file_exists( $file ) )
|
if( ! file_exists( $file ) )
|
||||||
return false;
|
return false;
|
||||||
$tar = new PharData( $file );
|
$tar = new PharData( $file );
|
||||||
file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) );
|
|
||||||
try {
|
try {
|
||||||
$tar->extractTo( $destination, null, true );
|
$tar->extractTo( $destination, null, true );
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user