deprecated the backup function

This commit is contained in:
斟酌 鵬兄 2015-08-21 12:38:13 +08:00
parent 33808fd46d
commit 2d858c48b8

View File

@ -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))
); );