sent video id , in response.

To fix update video detail issue
This commit is contained in:
nafisaiudev 2014-11-27 07:57:52 +00:00
parent 95f30752c8
commit 8c47bc4872

View file

@ -239,8 +239,11 @@
file_name : fileName
}
}).success(function(msg){
fileId = msg;
console.log(msg);
res = $.parseJSON(msg);
console.log(res);
fileId = res.videoid;
// creating the hidden form fields
var hiddenVideoIdField = document.createElement('input');
hiddenVideoIdField.name = 'videoid';