forked from Botanical/BotanJS
deprecated the backup function
This commit is contained in:
parent
33808fd46d
commit
2d858c48b8
@ -378,8 +378,6 @@
|
|||||||
if ( !ArticleModel.draft )
|
if ( !ArticleModel.draft )
|
||||||
{
|
{
|
||||||
// This is a published article
|
// This is a published article
|
||||||
// Do not backup
|
|
||||||
_data.backup = 0;
|
|
||||||
canSave = true;
|
canSave = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -435,14 +433,6 @@
|
|||||||
this.saveOrBackup();
|
this.saveOrBackup();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
else if(e.which == 66)
|
|
||||||
{
|
|
||||||
// key b(66)
|
|
||||||
this.backup.bind(this)();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}.bind(this))
|
}.bind(this))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user