commit 5337d2d1444a960e697f47d7e0a92670f6b9ca77
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2016-05-27T16:25:53Z |
| subject | Fixed the redirection issue in AstroEdit |
commit 5337d2d1444a960e697f47d7e0a92670f6b9ca77
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2016-05-27T16:25:53Z
Fixed the redirection issue in AstroEdit
---
botanjs/src/Astro/Blog/AstroEdit/Article.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/botanjs/src/Astro/Blog/AstroEdit/Article.js b/botanjs/src/Astro/Blog/AstroEdit/Article.js
index b2676bd..593311a 100644
--- a/botanjs/src/Astro/Blog/AstroEdit/Article.js
+++ b/botanjs/src/Astro/Blog/AstroEdit/Article.js
@@ -246,7 +246,7 @@
{
if ( !stay )
{
- var op = window.open( base_path + "article/view/" + ArticleModel.slug + "/" );
+ var op = window.open( base_path + "article/id-view/" + ArticleModel.article_id + "/" );
Cycle.next( function() {
if( op ) window.close();
});