Browse Source

!451 update public/assets/js/require-form.js.
Merge pull request !451 from SiGool/N/A

Karson 1 year ago
parent
commit
afa636ba15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/assets/js/require-form.js

+ 1 - 1
public/assets/js/require-form.js

@@ -225,7 +225,7 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
                             $(this).on('cancel.daterangepicker', function (ev, picker) {
                                 $(this).val('').trigger('change');
                             });
-                            $(this).daterangepicker($.extend(true, options, $(this).data() || {}, $(this).data("daterangepicker-options") || {}));
+                            $(this).daterangepicker($.extend(true, {}, options, $(this).data() || {}, $(this).data("daterangepicker-options") || {}));
                         });
                     });
                 }