WebContent/resources/js/sfmain.js
/**
 * If a movie does not have poster image, set placeholder image
 * 
 * @param image
 * @returns {Boolean}
 */
If a movie does not have poster image, set placeholder image

@param image
@returns {Boolean}
If a movie does not have poster image set placeholder image @param image @returns { Boolean }
function imgError ( image ) {
	image.onerror = "";
	image.src = "http://placehold.it/300x200&text=Movie+Image+NA";
	return true;
}
function imgError ( image ) { image . onerror = "" ; image . src = "http://placehold.it/300x200&text=Movie+Image+NA" ; return true ; }
If a movie does not have poster image, set placeholder image
If a movie does not have poster image set placeholder image