From 4b6fcaea6d85cdfeab2e4cdd3b8aa2d8a0903c7a Mon Sep 17 00:00:00 2001
From: "real3t@gmail.com" <>
Date: Mon, 21 Sep 2015 07:36:36 +0000
Subject: [PATCH] =?UTF-8?q?L'ajustement=20de=20la=20hauteur=20des=20colonn?=
 =?UTF-8?q?es=20ne=20se=20faisait=20pas=20toujours=20correctement=20ce=20q?=
 =?UTF-8?q?ui=20conduisait=20parfois=20le=20contenu=20=C3=A0=20=C3=AAtre?=
 =?UTF-8?q?=20tronqu=C3=A9=20en=20bas=20(Cl=C3=A9ment)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 javascripts.js.html | 34 +++++++++++++++++++++-------------
 paquet.xml          |  2 +-
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/javascripts.js.html b/javascripts.js.html
index 1fe26cba..64b46771 100644
--- a/javascripts.js.html
+++ b/javascripts.js.html
@@ -187,7 +187,7 @@ function myInitPages() {
 	if (jQuery('#homeSpecialFeature').size() > 0) { 
 		if (jQuery('.hSFItem').size()>1) { initMyHomeSpecialFeature = myHomeSpecialFeature("#homeSpecialFeature",'hSFItem','hSFDecoImg','hSFDecoSpan'); }
 	}
-	if (jQuery('#menuh').size() > 0) { 
+	if (jQuery('#menuh').size() > 0) {
 		$(document).ready(function(){ 
 		  $("#menuh").attr('role','navigation')/*.supersubs({ 
             minWidth:    12,   // minimum width of sub-menus in em units 
@@ -212,6 +212,22 @@ function myInitPages() {
 	// Surligner l'evenement en cours
 	var id_anchor  = location.hash.substr(1); //Get the word after the hash from the url
 	if (id_anchor) $('#'+id_anchor).parent().addClass('highlight_anchor'); // ajoute la classe highlight_anchor à l'element autour de l'ancre
+;
+[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non)
+	$(function() {
+		$('a, input, select, img, button, h2, h3, dd, acronym, abbr, area, strong.agendastatut').tooltip({ 
+			track: false, 
+			delay: 1000, 
+			showURL: false, 
+			showBody: " - ", 
+			fade: 250 
+		});
+	});
+]
+	$(".escapelinks a").focus( function() { $(".escapelinks").removeClass("escapelinks"); } );
+}
+;
+function myInitLayout() {
 	if (CanceladjustLayout != true) {
 		adjustLayout();
 		$("body").resize(
@@ -229,18 +245,6 @@ function myInitPages() {
 		onAjaxLoad(adjustLayout); // Merci Marcimat sur IRC !
 	}
 ;
-[(#CONFIG{soyezcreateurs/native_tooltips}|=={on}|non)
-	$(function() {
-		$('a, input, select, img, button, h2, h3, dd, acronym, abbr, area, strong.agendastatut').tooltip({ 
-			track: false, 
-			delay: 1000, 
-			showURL: false, 
-			showBody: " - ", 
-			fade: 250 
-		});
-	});
-]
-	$(".escapelinks a").focus( function() { $(".escapelinks").removeClass("escapelinks"); } );
 }
 ;
 /* BLACK TRANSPARENT BACKGROUNDS */
@@ -807,6 +811,10 @@ function prop(n) {
 
 $(document).ready(function() {
 	myInitPages();
+	// Ceci devrait régler le problème de l'ajustement des colonne pas toujours fait
+	$(window).load(function() {
+		myInitLayout();
+	});
 });
 
 [(#CHEMIN{images/sc_javascript_perso.js.html}|?{'/* Complément personnalisé du JS */'})
diff --git a/paquet.xml b/paquet.xml
index d4de0203..989cc78a 100644
--- a/paquet.xml
+++ b/paquet.xml
@@ -1,7 +1,7 @@
 <paquet
 	prefix="soyezcreateurs"
 	categorie="squelette"
-	version="4.0.36"
+	version="4.0.37"
 	etat="test"
 	compatibilite="[3.0.20;3.1.*]"
 	logo="img_pack/soyezcreateurs_48.png"
-- 
GitLab