More code from flux branch

This commit is contained in:
Patrick Donelan 2009-01-14 06:14:52 +00:00
parent 34b44def2f
commit 42ce45f825
2 changed files with 14 additions and 10 deletions

View file

@ -385,7 +385,7 @@ if (typeof Survey === "undefined") {
Survey.Form.addWidgets(qs); Survey.Form.addWidgets(qs);
} }
}, },
addWidgets: function(qs){ addWidgets: function(qs){
hasFile = false; hasFile = false;
for (var i = 0; i < qs.length; i++) { for (var i = 0; i < qs.length; i++) {
@ -394,7 +394,7 @@ if (typeof Survey === "undefined") {
// gracefully handle q with no answers // gracefully handle q with no answers
continue; continue;
} }
var verts = ''; var verts = '';
for (var x in q.answers) { for (var x in q.answers) {
if (YAHOO.lang.hasOwnProperty(q.answers, x)) { if (YAHOO.lang.hasOwnProperty(q.answers, x)) {

View file

@ -92,9 +92,11 @@ li.squestion {
min-height: 10px; min-height: 10px;
} }
li.newQuestion { li.newQuestion {
# background-color: #D1E6EC; /*
# border:1px solid #7EA6B2; background-color: #D1E6EC;
# cursor: move; border:1px solid #7EA6B2;
cursor: move;
*/
padding-left:25px; padding-left:25px;
} }
@ -119,15 +121,17 @@ li.sanswer {
background-color: #CC6600; background-color: #CC6600;
border:1px solid #7EA6B2; border:1px solid #7EA6B2;
cursor: move; cursor: move;
padding-left:50px; padding-left:50px;
width:60%; width:60%;
min-height: 10px; min-height: 10px;
} }
li.newAnswer { li.newAnswer {
# background-color: #D1E6EC; /*
# border:1px solid #7EA6B2; background-color: #D1E6EC;
padding-left:50px; border:1px solid #7EA6B2;
# cursor: move; cursor: move;
*/
padding-left:50px;
} }
#goto-yui-ac { #goto-yui-ac {
width:15em; width:15em;