Change ad_banner preview from using title to id

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-04-25 11:38:45 +08:00
1 parent 8e444a88d0
commit ddf7931123
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'); },