From 2d858c48b88e0cd1fec72352d89b052dba3cb06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Fri, 21 Aug 2015 12:38:13 +0800 Subject: [PATCH] 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)) );