Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 899 Rev 900
Línea 315... Línea 315...
315
        behaviors=[];
315
        behaviors=[];
316
        CKEDITOR.instances.description.setData('');
316
        CKEDITOR.instances.description.setData('');
317
        validator.resetForm();
317
        validator.resetForm();
318
        $('#row-form').show();
318
        $('#row-form').show();
319
        $('#row-list').hide();
319
        $('#row-list').hide();
-
 
320
        $("#rows").html('');
320
        return false;
321
        return false;
321
    });
322
    });
322
    $('body').on('click', 'button.btn-edit', function(e) {
323
    $('body').on('click', 'button.btn-edit', function(e) {
323
        e.preventDefault();
324
        e.preventDefault();
324
        NProgress.start();
325
        NProgress.start();
325
        var action = $(this).data('href');
326
        var action = $(this).data('href');
-
 
327
        $("#rows").html('');
326
        $.ajax({
328
        $.ajax({
327
            'dataType': 'json',
329
            'dataType': 'json',
328
            'method': 'get',
330
            'method': 'get',
329
            'url': action,
331
            'url': action,
330
        }).done(function(response) {
332
        }).done(function(response) {