Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 2761 Rev 2777
Línea 264... Línea 264...
264
            $.fn.showError(textStatus);
264
            $.fn.showError(textStatus);
265
        }).always(function() {
265
        }).always(function() {
266
            NProgress.done();
266
            NProgress.done();
267
        });
267
        });
268
    });
268
    });
269
 
-
 
270
    
-
 
271
    
-
 
Línea 272... Línea 269...
272
    
269
    
273
    $('body').on('click', 'button.btn-cancel', function(e) {
270
    $('body').on('click', 'button.btn-cancel', function(e) {
274
        e.preventDefault();
271
        e.preventDefault();
275
        $('#main').show();
272
        $('#main').show();
Línea 321... Línea 318...
321
            var data = response.data
318
            var data = response.data
Línea 322... Línea 319...
322
 
319
 
323
            data.candidates.forEach(function (candidate) {
320
            data.candidates.forEach(function (candidate) {
324
                var option = $('<option />')
321
                var option = $('<option />')
325
                    .val(candidate.uuid)
322
                    .val(candidate.uuid)
-
 
323
                    .text(candidate.first_name)
-
 
324
                    .data('addUrl', candidate.add_url)
-
 
325
                    .data('editUrl', candidate.edit_url)
Línea 326... Línea 326...
326
                    .text(candidate.first_name);
326
                    .data('deleteUrl', candidate.delete_url)
327
                
327
                
Línea 328... Línea 328...
328
                $('#candidate_uuid').append(option);
328
                $('#candidate_uuid').append(option);