Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1028 Rev 1029
Línea 304... Línea 304...
304
        });
304
        });
305
    });
305
    });
306
    $('body').on('click', 'button.btn-edit-section', function(e) {
306
    $('body').on('click', 'button.btn-edit-section', function(e) {
307
        e.preventDefault();
307
        e.preventDefault();
308
        var id = $(this).data('section');
308
        var id = $(this).data('section');
-
 
309
        console.log(id);
309
        sections.map((item) => {
310
        sections.map((item) => {
310
            if (item.section_id == id) {
311
            if (item.section_id == id) {
311
                $('#form-section #id-section').val(item.section_id);
312
                $('#form-section #id-section').val(item.section_id);
312
                $('#form-section #title-section').val(item.title);
313
                $('#form-section #title-section').val(item.title);
313
                $('#form-section #text-text').val(item.text);
314
                $('#form-section #text-text').val(item.text);