Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1169 | Rev 1261 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1169 Rev 1260
Línea 107... Línea 107...
107
        closeShareModal();
107
        closeShareModal();
108
        handleShowConfirmModal();
108
        handleShowConfirmModal();
109
      }
109
      }
110
    }
110
    }
111
  }, [modalType]);
111
  }, [modalType]);
-
 
112
 
112
  const hideDuplicatedModal = () => {
113
  const hideDuplicatedModal = () => {
113
    setTimeout(() => {
114
    setTimeout(() => {
114
      const modals = document.getElementsByClassName('modal');
115
      const modals = document.getElementsByClassName('modal');
-
 
116
      console.log('>>: modals > ', modals)
115
      if (modals.length > 0 && modals[0].style.display !== 'none') {
117
      if (modals.length > 0 && modals[0].style.display !== 'none') {
116
        const currentModal = modals[0];
118
        const currentModal = modals[0];
117
        currentModal.style.display = 'none';
119
        currentModal.style.display = 'none';
118
        for (let index = 0; index < modals.length; index++) {
120
        for (let index = 0; index < modals.length; index++) {
119
          const element = modals[index];
121
          const element = modals[index];