Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17206 Rev 17207
Línea 809... Línea 809...
809
 
809
 
Línea 810... Línea 810...
810
            if (name.length > 50) name = name.substr(0, 50) + '...'
810
            if (name.length > 50) name = name.substr(0, 50) + '...'
Línea -... Línea 811...
-
 
811
 
811
 
812
            let data = { id, name }
-
 
813
 
Línea 812... Línea 814...
812
            let data = { id, name }
814
            $('#table-capsules tbody').each(function() {
813
 
815
                $(this).append($('#trCapsuleTemplate').render(data))
Línea 814... Línea 816...
814
            $('#form-add #table-capsules tbody').append($('#trCapsuleTemplate').render(data))
816
            })
815
 
817
 
816
            return false
-
 
817
        })
-
 
818
 
-
 
819
        // Configuración del formulario de creación
818
            return false
820
        $('#form-add #capsule_uuid').select2({
-
 
821
            theme: 'bootstrap-5',
-
 
822
            width: '100%',
-
 
823
            placeholder: 'LABEL_SELECT',
-
 
824
            multiple: true
819
        })
825
        })
820
 
826
 
821
        // Configuración del formulario de creación
827
        // Configuración del formulario de edición
822
        $('#capsule_uuid').each(function() {
-
 
823
            $(this).select2({
828
        $('#form-edit #capsule_uuid').select2({
824
            theme: 'bootstrap-5',
Línea 829... Línea 825...
829
            theme: 'bootstrap-5',
825
            width: '100%',
830
            width: '100%',
826
            placeholder: 'LABEL_SELECT',
831
            placeholder: 'LABEL_SELECT',
827
            multiple: true