From f36842a7629f0276020e76bb7f676ea1ffca2b68 Mon Sep 17 00:00:00 2001
From: "cedric@yterium.com" <>
Date: Sun, 27 Mar 2011 22:03:31 +0000
Subject: [PATCH] oups, boucle infinie sur le reload car mauvais selecteur js

---
 prive/squelettes/inclure/portfolio-documents.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/prive/squelettes/inclure/portfolio-documents.html b/prive/squelettes/inclure/portfolio-documents.html
index c33ff07c..1dcd7cd6 100644
--- a/prive/squelettes/inclure/portfolio-documents.html
+++ b/prive/squelettes/inclure/portfolio-documents.html
@@ -53,13 +53,13 @@ var multifile='[(#CHEMIN{javascript/jquery.multifile.js}|texte_script)]';
 if (window.jQuery) jQuery('#navigation .box.info').ajaxReload();]
 function check_reload_page(){
 	var reload = false;
-	if($('#illustrations').length && !$('#illustrations .item.document').length){
+	if($('#illustrations').length && !$('#illustrations .item').length){
 		$('#illustrations').remove();reload = true;
 	}
-	if($('#portfolio').length && !$('#portfolio .item.document').length){
+	if($('#portfolio').length && !$('#portfolio .item').length){
 		$('#portfolio').remove();reload = true;
 	}
-	if($('#documents').length && !$('#documents .item.document').length){
+	if($('#documents').length && !$('#documents .item').length){
 		$('#documents').remove();reload = true;
 	}
 	if (reload) {
-- 
GitLab