Skip to content

Commit

Permalink
Merge pull request #5717 from effective-webwork/order-after-upload
Browse files Browse the repository at this point in the history
Fix order after upload in process with unstructured media files
  • Loading branch information
solth authored Jul 21, 2023
2 parents c5256a0 + 201cab7 commit c4befdf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -361,6 +358,7 @@ public void uploadMedia(FileUploadEvent event) {
PrimeFaces.current().executeScript("PF('notifications').renderMessage({'summary':'"
+ Helper.getTranslation("mediaUploaded", event.getFile().getFileName())
+ "','severity':'info'});");
dataEditor.getStructurePanel().changePhysicalOrderFields();
}
}

Expand Down

0 comments on commit c4befdf

Please sign in to comment.