Continued work on updated filemanager for update

This commit is contained in:
xevidos 2020-01-06 21:35:50 -05:00
parent d9aff8e892
commit 0cf5797fd5
2 changed files with 466 additions and 1452 deletions

View file

@ -557,9 +557,11 @@
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
remove: function( path ) { remove: function( path ) {
console.log( "remove file", this.isOpen( path ), session.listThumb.hasClass( 'changed' ), closeFile );
if( !this.isOpen( path ) ) return; if( !this.isOpen( path ) ) return;
var session = this.sessions[path]; let session = this.sessions[path];
var closeFile = true; let closeFile = true;
if( session.listThumb.hasClass( 'changed' ) ) { if( session.listThumb.hasClass( 'changed' ) ) {
codiad.modal.load( 450, 'components/active/dialog.php?action=confirm&path=' + encodeURIComponent( path ) ); codiad.modal.load( 450, 'components/active/dialog.php?action=confirm&path=' + encodeURIComponent( path ) );
closeFile = false; closeFile = false;

File diff suppressed because it is too large Load diff