* fix a bug : fix setAfter.

This commit is contained in:
zhujinyong
2013-02-04 07:55:12 +00:00
parent 10e7e90ca3
commit ecc0ff7ee1

View File

@@ -52,7 +52,7 @@ function setPreview()
*/
function setAfter()
{
if($("#story").select().val() == '')
if($("#story").length == 0 || $("#story").select().val() == '')
{
if($('input[value="continueAdding"]').attr('checked') == true)
{