forked from Botanical/BotanJS
Fixed the redirection issue in AstroEdit
This commit is contained in:
parent
1829b333df
commit
5337d2d144
@ -246,7 +246,7 @@
|
|||||||
{
|
{
|
||||||
if ( !stay )
|
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() {
|
Cycle.next( function() {
|
||||||
if( op ) window.close();
|
if( op ) window.close();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user