commit 2d858c48b88e0cd1fec72352d89b052dba3cb06d
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2015-08-21T04:38:13Z |
| subject | deprecated the backup function |
commit 2d858c48b88e0cd1fec72352d89b052dba3cb06d
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2015-08-21T04:38:13Z
deprecated the backup function
---
botanjs/src/Astro/Blog/AstroEdit/Article.js | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/botanjs/src/Astro/Blog/AstroEdit/Article.js b/botanjs/src/Astro/Blog/AstroEdit/Article.js
index 9440cdc..cfe7210 100644
--- a/botanjs/src/Astro/Blog/AstroEdit/Article.js
+++ b/botanjs/src/Astro/Blog/AstroEdit/Article.js
@@ -378,8 +378,6 @@
if ( !ArticleModel.draft )
{
// This is a published article
- // Do not backup
- _data.backup = 0;
canSave = true;
}
@@ -435,14 +433,6 @@
this.saveOrBackup();
e.preventDefault();
}
- /*
- else if(e.which == 66)
- {
- // key b(66)
- this.backup.bind(this)();
- return false;
- }
- */
}.bind(this))
);