mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-14 07:41:14 +01:00
Removed save notification from autosave, Removed content check.
This commit is contained in:
parent
c1a43b867d
commit
0912a19eb1
1 changed files with 3 additions and 4 deletions
|
@ -194,7 +194,7 @@
|
||||||
|
|
||||||
//console.log( content, _this.content );
|
//console.log( content, _this.content );
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if( content == _this.content ) {
|
if( content == _this.content ) {
|
||||||
|
|
||||||
let session = codiad.active.sessions[path];
|
let session = codiad.active.sessions[path];
|
||||||
|
@ -215,7 +215,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
this code caused issues even though it is the proper way to save something.
|
this code caused issues even though it is the proper way to save something.
|
||||||
Whenever in collaboration, the server constantly gave a wrong file version error.
|
Whenever in collaboration, the server constantly gave a wrong file version error.
|
||||||
|
@ -228,8 +228,7 @@
|
||||||
|
|
||||||
_this.content = content;
|
_this.content = content;
|
||||||
codiad.active.save;
|
codiad.active.save;
|
||||||
//codiad.filemanager.saveFile( path, content, localStorage.removeItem( path ), false );
|
codiad.filemanager.saveFile( path, content, localStorage.removeItem( path ), false );
|
||||||
codiad.filemanager.saveFile( path, content, localStorage.removeItem( path ) );
|
|
||||||
let session = codiad.active.sessions[path];
|
let session = codiad.active.sessions[path];
|
||||||
if( typeof session != 'undefined' ) {
|
if( typeof session != 'undefined' ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue