Changeset 34


Ignore:
Timestamp:
07/21/11 18:35:45 (14 years ago)
Author:
fpvanagthoven
Message:

Fixed some minor usability issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/SurveyCreationTool.php

    r33 r34  
    7979            function handleFocus(input)
    8080            {
    81                 if (input.clicked == null)
     81                /* this is such ugly code it makes me sad */
     82                if (input.clicked == null &&
     83                    (input.value == "Untitled Survey"
     84                        || input.value == "Write a helpful description for this survey here."
     85                        || input.value == "Write a question description here."
     86                        || input.value == "Untitled Question"))
    8287                {
    8388                    input.value = "";
Note: See TracChangeset for help on using the changeset viewer.