2009/dap/ReSpec.js/js respec.js,1.150,1.151

Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv26213/js

Modified Files:
	respec.js 
Log Message:
forgot to also change sotd generation, this addresses that oversight

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- respec.js	23 May 2011 13:21:12 -0000	1.150
+++ respec.js	23 May 2011 13:29:04 -0000	1.151
@@ -956,6 +956,12 @@
             if (custom) sotd += custom.innerHTML;
             sotd += "</section>";
         }
+        else if (this.specStatus === "finding" || this.specStatus === "draft-finding") {
+            sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>";
+            if (custom) sotd += custom.innerHTML;
+            else sotd += "<p style='color: red'>ReSpec does not support automated SotD generation for TAG findings, please specify one using a &lt;section> element with ID=sotd.</p>";
+            sotd += "</section>";
+        }
         else if (this.isNoTrack) {
             var mc = (this.specStatus == "MO") ? " member-confidential" : "";
             sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +

Received on Monday, 23 May 2011 13:29:08 UTC