Fix cannot sort problem caused by bootstrap shown event not fire.

This commit is contained in:
chiu 2020-06-23 13:55:45 +08:00
parent bbad7c1c8c
commit 3676381088
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@
<% end %>
<script type="text/javascript">
var sortUpdated = false;
$("#sort-images-modal").on("shown",function(){
$(document).on('show.bs.modal','#sort-images-modal', function () {
$(".order-list").sortable({
update : function(){
sortUpdated = true;