Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 887 Rev 888
Línea 409... Línea 409...
409
    /**
409
    /**
410
     * Clicked on remove conduct
410
     * Clicked on remove conduct
411
     */
411
     */
412
    $('body').on('click', 'button.btn-delete-conduct', function(e) {
412
    $('body').on('click', 'button.btn-delete-conduct', function(e) {
413
        e.preventDefault();
413
        e.preventDefault();
414
        var slug = $(this).data('conduct');
414
        var id = $(this).data('conduct');
415
        bootbox.confirm({
415
        bootbox.confirm({
416
            title: "LABEL_DELETE LABEL_CONDUCT",
416
            title: "LABEL_DELETE LABEL_CONDUCT",
417
            message: "LABEL_QUESTION_DELETE",
417
            message: "LABEL_QUESTION_DELETE",
418
            buttons: {
418
            buttons: {
419
                cancel: {
419
                cancel: {
Línea 423... Línea 423...
423
                    label: '<i class="fa fa-check"></i> LABEL_ACCEPT'
423
                    label: '<i class="fa fa-check"></i> LABEL_ACCEPT'
424
                }
424
                }
425
            },
425
            },
426
            callback: function(result) {
426
            callback: function(result) {
427
                if (result) {
427
                if (result) {
428
                    removeBehavior();
428
                    removeBehavior(id);
429
                }
429
                }
430
            }
430
            }
431
        });
431
        });
432
    });
432
    });
433
    /**
433
    /**