|
@@ -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) {
|