Scarab commit: svn commit: r10704 - trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm

Hussayn Dabbous <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2009-02-20 10:06:31-0800
New Revision: 10704

Modified:
   trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm

Log:
This commit refers to SCB2797

Now hints are always placed right to an input field.
Placing them into the input field when the field is empty was a bad idea.

Modified: trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm?view=diff&pathrev=10704&r1=10703&r2=10704
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/macros/GlobalMacros.vm	2009-02-20 10:06:31-0800
@@ -218,7 +218,7 @@
             #set ( $fieldName = $attrInput.Value.Key )
             #set ( $fieldValue= $!attrInput.Value )
           #end
-          #if ($fieldValue.toString().equals("")) #set ($fieldValue = $hint) #end
+          #* #if ($fieldValue.toString().equals("")) #set ($fieldValue = $hint) #end *#
           <input         
             type="text" 
             name="$fieldName"

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=1199742
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.