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 1917... Línea 1917...
1917
				
1917
				
1918
				$(imagen2).ready(function(e){
1918
				$(imagen2).ready(function(e){
1919
					console.log(imagen2.width)
1919
					console.log(imagen2.width)
1920
					console.log(imagen2.height)
1920
					console.log(imagen2.height)
1921
					if(imagen2.width<100||imagen2.height<100){
1921
					if(imagen2.width<100||imagen2.height<100){
1922
						$.fn.showError('La imagen debe tener al menos un tamano mayor a 100x100');
1922
						$.fn.showError('LABEL_MINIMUM_IMAGE_SIZE');
1923
					}else{
1923
					}else{
1924
						$(".volver").css("display","block")
1924
						$(".volver").css("display","block")
1925
						$(".a1").addClass("paso");
1925
						$(".a1").addClass("paso");
1926
						$(".titulo_pasos").html("LABEL_STEP_2");
1926
						$(".titulo_pasos").html("LABEL_STEP_2");
1927
						editorNoticia(imagen2.src)
1927
						editorNoticia(imagen2.src)
1928
					}			
1928
					}			
1929
				})
1929
				})
1930
			}
1930
			}
1931
		}else{
1931
		}else{
1932
			$.fn.showError('imagen debe ser un JPG o PNG');
1932
			$.fn.showError('LABEL_SUPPORTED_FORMATS');
1933
		}
1933
		}
1934
	})	
1934
	})	
1935
	$(document).on("dragover", "body", function(e){
1935
	$(document).on("dragover", "body", function(e){
1936
		e.preventDefault();
1936
		e.preventDefault();