From 506fa179a15225124692f06a5964245b8a44139b Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Mon, 1 Oct 2012 17:48:51 +0800 Subject: [PATCH] fix announcement --- app/assets/javascripts/inc/modal-preview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/inc/modal-preview.js b/app/assets/javascripts/inc/modal-preview.js index bf4de0546..b50dcf0f6 100644 --- a/app/assets/javascripts/inc/modal-preview.js +++ b/app/assets/javascripts/inc/modal-preview.js @@ -36,7 +36,8 @@ $(document).ready(function() { o.dataType = 'script'; o.url = url.nodeValue; o.type = 'post'; - } + },success: function() { } + }); }) // $("form.nccu_ajax_form").ajaxForm({