refresh edit page after files get added
@@ -1074,6 +1074,7 @@ $(document).ready(function () {
location.reload(true);
}
else {
+ var resourceType = $("#resource-type").val();
// Remove further paths from the log
var range = pathLog.length - pathLogIndex;
pathLog.splice(pathLogIndex + 1, range);
@@ -1082,6 +1083,9 @@ $(document).ready(function () {
refreshFileBrowser();
$("#previews").empty();
+ if(resourceType === 'Composite Resource') {
+ refreshResourceEditPage();
+ }
}
});
