Parcourir la source

System: Prevent datepicker selection from discarding moe

Vijayakrishnan il y a 3 ans
Parent
commit
20ff271823
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 0 0
      public/js/yemi.js
  2. 2 1
      yemi.js

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
public/js/yemi.js


+ 2 - 1
yemi.js

@@ -585,7 +585,8 @@ jQuery(document).ready(function () {
         if($(e.target).closest('[moe]').length ||
             $(e.target).closest('#create-shortcut-form').length ||
             $(e.target).is('#create-shortcut-form') ||
-            $(e.target).is('.stag-shortcuts .sc')){
+            $(e.target).is('.stag-shortcuts .sc') ||
+            $(e.target).closest('.ui-datepicker').length) {
             return;
         }
         $('[moe] [url]:not([show])').hide();

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff