Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3860 → Rev 3861

/branches/v3.01-serpe/widget/modules/saisie/squelettes/js/Utils.js
182,9 → 182,10
label = 'Aide pour : ' + $( this ).data( 'name' );
 
if( fileMimeType.match( 'image' ) ) {
const extention = fileMimeType.replace( /(?:imag)?e\/?/g , '' ),
content = '<img id="modale-aide-img" src="' + lthis.cheminFichiers + thisFieldKey + '.' + extention + '" style="" alt="' + thisFieldKey + '" />';
}
const extention = fileMimeType.replace( /(?:imag)?e\/?/g , '' );
 
content = '<img id="modale-aide-img" src="' + lthis.cheminFichiers + thisFieldKey + '.' + extention + '" style="" alt="' + thisFieldKey + '" />';
}
lthis.activerModale( label, content );
});
};