Change ad_banner preview from using title to id

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-04-25 16:10:11 +08:00
1 parent 72921d6dfd
commit 7f285f4719
5 files changed
+23 -23

No files matched your search

@@ -7,9 +7,7 @@ $(document).ready(function() {
$(this).after("<span id='show_preview'></span>");
$.ajax({
type: 'PUT',
//async : true,
url:$(this).attr("href"),
contentType: 'application/javascript; charset=utf-8',
data:$(this).parents("form").serialize(),
success: function (msg) {
$("#"+start_modal_with_id).modal('show'); },