2006/unicorn/WebContent/scripts w3c-validator.js,1.1.2.2,1.1.2.3

Update of /sources/public/2006/unicorn/WebContent/scripts
In directory hutz:/tmp/cvs-serv25312/WebContent/scripts

Modified Files:
      Tag: dev2
	w3c-validator.js 
Log Message:
new interface

Index: w3c-validator.js
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/scripts/Attic/w3c-validator.js,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- w3c-validator.js	19 Aug 2009 08:14:13 -0000	1.1.2.2
+++ w3c-validator.js	19 Aug 2009 18:54:25 -0000	1.1.2.3
@@ -5,7 +5,7 @@
 		//select elements
 		
 		W3C.Legends = $$('legend.toggletext');
-		W3C.Options = $$('div.options');
+		W3C.Options = $$('fieldset.moreoptions div.options');
 		
 		W3C.TabSet = $('tabset_tabs');
 		
@@ -130,8 +130,10 @@
 				if (block) return;
 				W3C.Sections[j].setStyles({'opacity': sudden ? 1 : 0, 'display': 'block'});
 				if (!sudden) W3C.SectionFx[j].start(1);
-				if (W3C.WithOptions) W3C.OptionsFx[j].show().fireEvent('onComplete');
-				else W3C.OptionsFx[j].hide();
+				if (j < W3C.OptionsFx.length - 1) {
+					if (W3C.WithOptions) W3C.OptionsFx[j].show().fireEvent('onComplete');
+					else W3C.OptionsFx[j].hide();
+				}
 			} else {
 				if (!block) return;
 				W3C.Sections[j].setStyles({'display': 'none', 'opacity': 0});

Received on Wednesday, 19 August 2009 18:54:36 UTC