Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2769 Rev 3045
Línea 327... Línea 327...
327
    return () => {
327
    return () => {
328
      loadMore = null;
328
      loadMore = null;
329
    };
329
    };
330
  }, [currentPage]);
330
  }, [currentPage]);
Línea -... Línea 331...
-
 
331
 
-
 
332
  useEffect(() => {
-
 
333
    if (!minimized) {
-
 
334
      handleReadChat(index)
-
 
335
    }
-
 
336
  }, [minimized]);
331
 
337
 
332
  // getMessagesInterval
338
  // getMessagesInterval
333
  useEffect(() => {
339
  useEffect(() => {
334
    if (window.location.pathname === '/group/my-groups') {
340
    if (window.location.pathname === '/group/my-groups') {
335
      const items = document.getElementsByClassName('sc-jSgupP')
341
      const items = document.getElementsByClassName('sc-jSgupP')
Línea 764... Línea 770...
764
                          name="chattxt"
770
                          name="chattxt"
765
                          style={{ resize: "none", height: "20px" }}
771
                          style={{ resize: "none", height: "20px" }}
766
                          placeholder="Escribe un mensaje"
772
                          placeholder="Escribe un mensaje"
767
                          onKeyDown={handleChatBoxKeyDown}
773
                          onKeyDown={handleChatBoxKeyDown}
768
                          ref={textAreaEl}
774
                          ref={textAreaEl}
769
                          onBlur={()=> responseMessage && setResponseMessage(null)}
775
                          onBlur={() => responseMessage && setResponseMessage(null)}
770
                          onFocus={() => onRead(index)}
776
                          onFocus={() => onRead(index)}
771
                        ></textarea>
777
                        ></textarea>
772
                        <input
778
                        <input
773
                          id="to_uname"
779
                          id="to_uname"
774
                          name="to_uname"
780
                          name="to_uname"
Línea 957... Línea 963...
957
                          style={{ resize: "none", height: "20px" }}
963
                          style={{ resize: "none", height: "20px" }}
958
                          placeholder="Escribe un mensaje"
964
                          placeholder="Escribe un mensaje"
959
                          onKeyDown={handleChatBoxKeyDown}
965
                          onKeyDown={handleChatBoxKeyDown}
960
                          ref={textAreaEl}
966
                          ref={textAreaEl}
961
                          onFocus={() => onRead(index)}
967
                          onFocus={() => onRead(index)}
962
                          onBlur={()=> responseMessage && setResponseMessage(null)}
968
                          onBlur={() => responseMessage && setResponseMessage(null)}
963
                        ></textarea>
969
                        ></textarea>
964
                        <input
970
                        <input
965
                          id="to_uname"
971
                          id="to_uname"
966
                          name="to_uname"
972
                          name="to_uname"
967
                          value="'+chatboxtitle+'"
973
                          value="'+chatboxtitle+'"