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 ) {
console.log( "remove file", this.isOpen( path ), session.listThumb.hasClass( 'changed' ), closeFile );
if( !this.isOpen( path ) ) return;
var session = this.sessions[path];
var closeFile = true;
let session = this.sessions[path];
let closeFile = true;
if( session.listThumb.hasClass( 'changed' ) ) {
codiad.modal.load( 450, 'components/active/dialog.php?action=confirm&path=' + encodeURIComponent( path ) );
closeFile = false;

File diff suppressed because it is too large Load Diff