--- loncom/publisher/publisher.html 2003/08/01 20:32:05 1.31 +++ loncom/publisher/publisher.html 2003/09/05 02:22:25 1.32 @@ -70,8 +70,20 @@ function getdelfilename() { document.del.submit(); } +function getcurseed() { + if (parent.LONCAPAToBePublished.document.lonhomework + && + parent.LONCAPAToBePublished.document.lonhomework.rndseed + && + parent.LONCAPAToBePublished.document.lonhomework.rndseed.value) { + return parent.LONCAPAToBePublished.document.lonhomework.rndseed.value; + } + return 0; +} + function getpostdata() { document.printout.postdata.value=frameloc(); + document.printout.curseed.value=getcurseed(); document.printout.submit(); } @@ -103,6 +115,7 @@ function getpostdata() {
+