[foundation-web] Make the body in step2 more explicit
- From: Tobias Mueller <tobiasmue src gnome org>
- To: svn-commits-list gnome org
- Subject: [foundation-web] Make the body in step2 more explicit
- Date: Sat, 6 Jun 2009 10:37:04 -0400 (EDT)
commit ddbdac895eee14fbfe76b0d99e51d1d7fe712462
Author: Tobias Mueller <tobiasmue gnome org>
Date: Sat Jun 6 16:35:52 2009 +0200
Make the body in step2 more explicit
Right now, the script doesn't echo <body onLoad="populateList()"> for an
unkown reason. I assume that this change makes it more explicit und thus
more readable.
---
foundation.gnome.org/vote/vote.wml | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/foundation.gnome.org/vote/vote.wml b/foundation.gnome.org/vote/vote.wml
index 89a9a6f..cf875e7 100644
--- a/foundation.gnome.org/vote/vote.wml
+++ b/foundation.gnome.org/vote/vote.wml
@@ -189,23 +189,18 @@ function submitPreferences() {
//]]>
</script>
+ </head>
+ <body onLoad="populateList()">
<?php
- }
+ } else { // Here $step!=2
?>
</head>
-
-<?php
-if ($step==2){
-?>
- <body onLoad="populateList()">
-<?php
-} else {
-?>
<body>
<?php
-}
+ }
?>
+
<?php
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]