Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8359 Rev 8360
Línea 724... Línea 724...
724
				
724
				
725
				$(imagen2).ready(function(e){
725
				$(imagen2).ready(function(e){
726
					console.log(imagen2.width)
726
					console.log(imagen2.width)
727
					console.log(imagen2.height)
727
					console.log(imagen2.height)
728
					if(imagen2.width<100||imagen2.height<100){
728
					if(imagen2.width<100||imagen2.height<100){
729
						$.fn.showError('La imagen debe tener al menos un tamano mayor a 100x100');
729
						$.fn.showError('LABEL_MINIMUM_IMAGE_SIZE');
730
					}else{
730
					}else{
731
						$(".volver").css("display","block")
731
						$(".volver").css("display","block")
732
						$(".a1").addClass("paso");
732
						$(".a1").addClass("paso");
733
						$(".titulo_pasos").html("LABEL_STEP_2");
733
						$(".titulo_pasos").html("LABEL_STEP_2");
734
						editorNoticia(imagen2.src)
734
						editorNoticia(imagen2.src)
735
					}			
735
					}			
736
				})
736
				})
737
			}
737
			}
738
		}else{
738
		}else{
739
			$.fn.showError('imagen debe ser un JPG o PNG');
739
			$.fn.showError('LABEL_SUPPORTED_FORMATS');
740
		}
740
		}
Línea 741... Línea 741...
741
	})
741
	})
742
		
742