Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1389 | Rev 1400 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1389 Rev 1390
Line 370... Line 370...
370
			html = $(this).html();
370
			html = $(this).html();
Line 371... Line 371...
371
			
371
			
372
			// La partie biblio commence au premier crochet ouvrant
372
			// La partie biblio commence au premier crochet ouvrant
373
			// ou bien au span de la biblio à exclure
373
			// ou bien au span de la biblio à exclure
-
 
374
			posCrochetGauche = html.indexOf('[');
-
 
375
			posbiblioAExclure = html.indexOf('<span class="bib_excl">');
374
			posCrochetGauche = html.indexOf('[');
376
			
375
			if(posCrochetGauche < 0) {
377
			if(posCrochetGauche < 0 || (posbiblioAExclure > 0 && posbiblioAExclure < posCrochetGauche)) {
376
				posCrochetGauche = html.indexOf('<span class="bib_excl">');
378
				posCrochetGauche = posbiblioAExclure;
Line -... Line 379...
-
 
379
			}
-
 
380
			
-
 
381
			console.log(posCrochetGauche+" "+posbiblioAExclure);
377
			}
382
			
378
			
383
			
379
			if (posCrochetGauche > 0) {
384
			if (posCrochetGauche > 0) {
380
				nom = html.substr(0, posCrochetGauche);
385
				nom = html.substr(0, posCrochetGauche);