Skip to content

Commit

Permalink
Merge pull request #753 from TAMULib/management-datepicker-fix
Browse files Browse the repository at this point in the history
Managment - Re-load datepickers after modal instantiation
  • Loading branch information
andyp-uk authored Apr 4, 2024
2 parents 169d9aa + cc81d13 commit 8bdd443
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions management/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ function myDialog(loadForm, h,w){
modal: true,
open: function ()
{
if ($(this).is(':empty')) {
$(this).load(loadForm);
if ($(this).is(':empty')) {
$(this).load(loadForm, function() {
loadDatePicker();
});
}
},
height: h,
Expand Down

0 comments on commit 8bdd443

Please sign in to comment.