app/assets/javascripts/refile.js in leifcr-refile-0.6.3 vs app/assets/javascripts/refile.js in leifcr-refile-0.7.0
- old
+ new
@@ -113,10 +113,13 @@
if (url) data.url = url;
return data;
});
if(!input.multiple) dataObj = dataObj[0];
- if(metadataField) metadataField.value = JSON.stringify(dataObj);
+ if(metadataField) {
+ metadataField.value = JSON.stringify(dataObj);
+ metadataField.removeAttribute('disabled');
+ };
input.removeAttribute("name");
}
}
}