mirror of
https://github.com/xevidos/codiad.git
synced 2024-12-22 22:02:15 +01:00
Continued work on updated filemanager for update
This commit is contained in:
parent
d9aff8e892
commit
0cf5797fd5
2 changed files with 466 additions and 1452 deletions
|
@ -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
Loading…
Reference in a new issue