diff --git a/article_maker.cc b/article_maker.cc index 3b63b7a3..0ec92714 100644 --- a/article_maker.cc +++ b/article_maker.cc @@ -668,11 +668,16 @@ void ArticleRequest::bodyFinished() } } - //todo ,gdArticleContents应该可以用类变量保存。 + //todo ,gdArticleContents need refractor in the future? string jsVal = Html::escapeForJavaScript( dictId ); head += ""; + "else gdArticleContents += \"" + jsVal + " \";" +"function playSound(sound){" +" var a=new Audio(sound);" +" a.play();" +"}" +""; head += string( "
\"Play\"/"; + string surl=url.toEncoded().data(); + + result += "\"Play\"/"; } else if ( Filetype::isNameOfPicture( filename ) )