Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6992 Rev 6993
Línea 484... Línea 484...
484
                'processData': false,
484
                'processData': false,
485
                'contentType': false,
485
                'contentType': false,
486
            }).done(function(response) {
486
            }).done(function(response) {
487
                if(response['success']) {
487
                if(response['success']) {
488
                    $.fn.showSuccess(response['data']);
488
                    $.fn.showSuccess(response['data']);
489
                       
-
 
-
 
489
					console.log(response)
490
					$('body, html').animate({scrollTop: '0px'}, 300);
490
					$('body, html').animate({scrollTop: '0px'}, 300);
491
					$('#content1').css('display','block');
491
					$('#content1').css('display','block');
492
                    $('.contenido').html(''); 
492
                    $('.contenido').html(''); 
493
            		seleccionarCampo.css('display','none');
493
            		seleccionarCampo.css('display','none');
494
					$('#titleTypeImage').html('Imagen de la tienda')
494
					$('#titleTypeImage').html('Imagen de la tienda')
Línea 504... Línea 504...
504
                            $.fn.showFormErrorValidator('#form-capsule-edit #' + fieldname, errors);
504
                            $.fn.showFormErrorValidator('#form-capsule-edit #' + fieldname, errors);
505
                        });
505
                        });
506
                    }
506
                    }
507
                }
507
                }
508
            }).fail(function( jqXHR, textStatus, errorThrown) {
508
            }).fail(function( jqXHR, textStatus, errorThrown) {
-
 
509
				console.log(jqXHR)
509
                $.fn.showError(textStatus);
510
                $.fn.showError(textStatus);
510
            }).always(function() {
511
            }).always(function() {
511
				$('#boton_recortar').prop('disabled', false);
512
				$('#boton_recortar').prop('disabled', false);
512
                NProgress.done();
513
                NProgress.done();
513
            });
514
            });