[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10236] Logistic: Changed classname on attribute
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10236] Logistic: Changed classname on attribute |
Date: |
Tue, 16 Oct 2012 09:37:23 +0000 |
Revision: 10236
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10236
Author: vator
Date: 2012-10-16 09:37:23 +0000 (Tue, 16 Oct 2012)
Log Message:
-----------
Logistic: Changed classname on attribute
Modified Paths:
--------------
trunk/logistic/js/logistic/requirement.js
trunk/logistic/templates/base/requirement/requirement_values.xsl
Modified: trunk/logistic/js/logistic/requirement.js
===================================================================
--- trunk/logistic/js/logistic/requirement.js 2012-10-16 09:36:33 UTC (rev
10235)
+++ trunk/logistic/js/logistic/requirement.js 2012-10-16 09:37:23 UTC (rev
10236)
@@ -59,8 +59,8 @@
$('#attributes .attribute').each(function(index) {
- var column_name = $(this).find('.info').attr("name");
- var attrib_value = $(this).find('.info').val();
+ var column_name =
$(this).find('.attrib_info').attr("name");
+ var attrib_value = $(this).find('.attrib_info').val();
var operator = $(this).find('.operator').val();
var cust_attribute_id =
$(this).find('.cust_attribute_id').val();
var location_id = $(this).find('.location_id').val();
Modified: trunk/logistic/templates/base/requirement/requirement_values.xsl
===================================================================
--- trunk/logistic/templates/base/requirement/requirement_values.xsl
2012-10-16 09:36:33 UTC (rev 10235)
+++ trunk/logistic/templates/base/requirement/requirement_values.xsl
2012-10-16 09:37:23 UTC (rev 10236)
@@ -24,7 +24,7 @@
<xsl:when test="column_info/type = 'T'">
<label><xsl:value-of select="input_text"/></label>
<input class="operator" type='hidden' name="operator"
value='eq' />
-
<input class="info" type='text' name="{column_name}" value='' />
+
<input class="attrib_info" type='text' name="{column_name}"
value='' />
</xsl:when>
<xsl:when test="column_info/type = 'V'">
<label><xsl:value-of select="input_text"/></label>
@@ -34,12 +34,12 @@
<option value="gt"><xsl:text>Større enn</xsl:text></option>
<option value="btw"><xsl:text>Mellom</xsl:text></option>
</select>
-
<input class="info" style="margin-left: 10px;" type='text'
name="{column_name}" value='' />
+
<input class="attrib_info" style="margin-left: 10px;" type='text'
name="{column_name}" value='' />
</xsl:when>
<xsl:when test="column_info/type = 'LB'">
<label><xsl:value-of select="input_text"/></label>
<input class="operator" type='hidden' name="operator"
value='eq' />
-
<select class="info" name="{column_name}">
+
<select class="attrib_info" name="{column_name}">
<xsl:for-each select="choice">
<option value="{value}">
<xsl:value-of select="value"/>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10236] Logistic: Changed classname on attribute,
Torstein <=