huanggang 7 years ago
parent
commit
daac747853
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/resource/mobile/ugc/js/main.js

+ 2 - 1
data/resource/mobile/ugc/js/main.js

@@ -1,3 +1,4 @@
+
 var event = function (obj, eventType, callback) {
     obj.live(eventType, callback);
 };
@@ -342,7 +343,7 @@ $('#submit_btn').on('click', function () {
         allAnswers.question = resAnswers;
     }
     var special_id = $('body').attr('data-special_id');
-    var url = window.location.protocol+"//"+window.location.host+"/mobile/index.php?act=special&op=submit&client_type=ajax&special_id=' + special_id + '&content=' + encodeURI(JSON.stringify(allAnswers))";
+    var url = window.location.protocol+"//"+window.location.host+"/mobile/index.php?act=special&op=submit&client_type=ajax&special_id=" + special_id + '&content=' + encodeURI(JSON.stringify(allAnswers));
     // var url = 'http://192.168.0.200/mobile/index.php?act=special&op=submit&client_type=ajax&special_id=' + special_id + '&content=' + encodeURI(JSON.stringify(allAnswers));
     ajax(url, function (data) {
         if (data.code !== 200) {