AesopInteractive / lasso

Code Repository for Editus (formerly Lasso) Commercial Plugin
https://edituswp.com
GNU General Public License v2.0
147 stars 25 forks source link

image not updating #126

Open theprinze opened 3 years ago

theprinze commented 3 years ago

When adding an image via the control panel the url input field does not update. The input attribute value updates but it does not save the new image because the actual text in the input field is not updated. This can fixed by adding the following line after "$(".aesop-generator-attr-media_upload").attr("value",attachment.url)"

$(".aesop-generator-attr-media_upload").val(attachement.url);