* Iframe and disable will be invalid.
This commit is contained in:
@@ -136,12 +136,14 @@ function setPreview(num)
|
||||
storyLink = storyLink + concat + 'onlybody=yes';
|
||||
}
|
||||
$('#preview' + num).removeAttr('disabled');
|
||||
$('#preview' + num).modalTrigger({type:'iframe'});
|
||||
$('#preview' + num).attr('href', storyLink);
|
||||
}
|
||||
else
|
||||
{
|
||||
storyLink = '#';
|
||||
$('#preview' + num).attr('disabled', true);
|
||||
$('#preview' + num).css('pointer-events', 'none');
|
||||
$('#preview' + num).attr('href', storyLink);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user