Saqib Razzaq 2016-09-16 18:09:49 +05:00
parent ebffa907ec
commit adfda8907a

View file

@ -327,6 +327,7 @@
$('#photo_title').val(slicedTitle); $('#photo_title').val(slicedTitle);
$('#photo_description').val(slicedDesc); $('#photo_description').val(slicedDesc);
$(uploadForm).find("img").attr("src", msg.photoPreview); $(uploadForm).find("img").attr("src", msg.photoPreview);
$(uploadForm).find("img").css("max-width", "100%");
$(".submitPhoto").removeAttr("disabled"); $(".submitPhoto").removeAttr("disabled");
if(typeof files[(currentFileIndex - 1)] !== "undefined"){ if(typeof files[(currentFileIndex - 1)] !== "undefined"){