fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [7231] property: edit generic


From: Sigurd Nes
Subject: [Fmsystem-commits] [7231] property: edit generic
Date: Mon, 25 Apr 2011 21:28:58 +0000

Revision: 7231
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7231
Author:   sigurdne
Date:     2011-04-25 21:28:57 +0000 (Mon, 25 Apr 2011)
Log Message:
-----------
property: edit generic

Modified Paths:
--------------
    trunk/property/templates/base/generic.xsl

Modified: trunk/property/templates/base/generic.xsl
===================================================================
--- trunk/property/templates/base/generic.xsl   2011-04-15 17:02:14 UTC (rev 
7230)
+++ trunk/property/templates/base/generic.xsl   2011-04-25 21:28:57 UTC (rev 
7231)
@@ -41,7 +41,7 @@
                                                                                
                        <xsl:value-of select="value_id"/>
                                                                                
                </xsl:when>
                                                                                
                <xsl:otherwise>
-                                                                               
                        <input type="text" name="values[{id_name}]" 
value="{value_id}" onMouseout="window.status='';return true;">
+                                                                               
                        <input type="text" name="values[{id_name}]" 
value="{value_id}">
                                                                                
                                <xsl:attribute name="title">
                                                                                
                                        <xsl:value-of 
select="php:function('lang', 'Enter the ID')"/>
                                                                                
                                </xsl:attribute>
@@ -52,7 +52,6 @@
                                                                        </tr>
                                                                </xsl:when>
                                                                <xsl:otherwise>
-
                                                                        
<xsl:choose>
                                                                                
<xsl:when test="value_id != ''">
                                                                                
        <tr>
@@ -67,6 +66,12 @@
                                                                        
</xsl:choose>   
                                                                </xsl:otherwise>
                                                        </xsl:choose>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="value_id != ''">
+                                                                       <input 
type="hidden" name="{id_name}" value="{value_id}">
+                                                                       </input>
+                                                               </xsl:when>
+                                                       </xsl:choose>   
 
                                                        <xsl:for-each 
select="fields" >
                                                                <xsl:variable 
name="name"><xsl:value-of select="name"/></xsl:variable>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]