From 90572dbb907ba629f71fac32c3a97242ccb761bc Mon Sep 17 00:00:00 2001 From: danmarsden Date: Tue, 5 Apr 2005 02:04:54 +0000 Subject: [PATCH] Fix for Bug #1901 - now "greys out" the privacy of results select if "do not publish" is selected. --- mod/choice/mod.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mod/choice/mod.html b/mod/choice/mod.html index 362474d43c1..ce8d6996ea4 100644 --- a/mod/choice/mod.html +++ b/mod/choice/mod.html @@ -194,12 +194,22 @@ for ($i=1; $i<=$standardblanks; $i++) { + : dirroot/mod/choice/lib.php"); - choose_from_menu($CHOICE_RELEASE, "release", "$form->release", ""); + choose_from_menu($CHOICE_RELEASE, "release", "$form->release", "", "return lockprivacy()"); ?>
@@ -213,6 +223,7 @@ for ($i=1; $i<=$standardblanks; $i++) { choose_from_menu($CHOICE_PUBLISH, "publish", "$form->publish", ""); ?>
+