Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6993 Rev 6996
Línea 492... Línea 492...
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')
495
					$('#marketplaceImg').attr('src', '')
495
					$('#marketplaceImg').attr('src', '')
496
					fileToggle=true;
496
					fileToggle=true;
-
 
497
					imagenEdit='';
497
                    gridTable.api().ajax.reload(null, false);
498
                    gridTable.api().ajax.reload(null, false);
498
                } else {
499
                } else {
499
                    validatorAdd.resetForm();
500
                    validatorAdd.resetForm();
500
                    if(jQuery.type(response['data']) == 'string') {
501
                    if(jQuery.type(response['data']) == 'string') {
501
                        $.fn.showError(response['data']);
502
                        $.fn.showError(response['data']);
Línea 507... Línea 508...
507
                }
508
                }
508
            }).fail(function( jqXHR, textStatus, errorThrown) {
509
            }).fail(function( jqXHR, textStatus, errorThrown) {
509
				console.log(jqXHR)
510
				console.log(jqXHR)
510
                $.fn.showError(textStatus);
511
                $.fn.showError(textStatus);
511
            }).always(function() {
512
            }).always(function() {
-
 
513
 
512
				$('#boton_recortar').prop('disabled', false);
514
				$('#boton_recortar').prop('disabled', false);
513
                NProgress.done();
515
                NProgress.done();
514
            });
516
            });
515
            return false;
517
            return false;
516
        },
518
        },