Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8350 Rev 8351
Línea 722... Línea 722...
722
				imagen2=new Image();
722
				imagen2=new Image();
723
				imagen2.src=e.target.result;
723
				imagen2.src=e.target.result;
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('La imagen debe tener al menos un tamano mayor a 100x100');
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(e.target.result)
734
						editorNoticia(imagen2.src)
735
					}			
735
					}			
736
				})
736
				})
737
			}
737
			}
738
		}else{
738
		}else{