Preview now can be use at both ad_banner and ad_image,however it won't run correctly if user change its ad_banner at ad_image.

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-04-23 14:07:13 +08:00
1 parent e353afb5ac
commit 81b0046f42
8 files changed
+11 -14

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
$(document).ready(function() {
$("a.preview_trigger").click(function(){
$(this).after("<p id='show_preview'></p>");
$(this).after("<span id='show_preview'></span>");
$.ajax({
type:"PUT",
url:$(this).attr("href"),