ming 3 gadi atpakaļ
vecāks
revīzija
35a4dc73bf
1 mainītis faili ar 3 papildinājumiem un 7 dzēšanām
  1. 3 7
      script_msg.js

+ 3 - 7
script_msg.js

@@ -24,17 +24,13 @@ $(".next").click(function(){
 	}	
 	dataOBJ = {"name":name_title,"text_content":txtARR,"image_urls":imgARR}
   console.log(txtARR);
-  console.log(imgARR);
- 
+  console.log(dataOBJ);
+
   $.ajax({
 	url: 'http://www.choozmo.com:8888/make_anchor_video_v2',
 	type: 'post',
 	dataType: 'json',
-	data: JSON.stringify({
-		title: name_title,
-		text_content: txtARR,
-		image_urls: imgARR
-	}),
+	data: dataOBJ,
 	success: function(data) {
 	  showThankyou();
 	},