[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10368]
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10368] |
Date: |
Mon, 29 Oct 2012 12:53:57 +0000 |
Revision: 10368
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10368
Author: vator
Date: 2012-10-29 12:53:55 +0000 (Mon, 29 Oct 2012)
Log Message:
-----------
Modified Paths:
--------------
trunk/logistic/templates/base/requirement/requirement_overview.xsl
Modified: trunk/logistic/templates/base/requirement/requirement_overview.xsl
===================================================================
--- trunk/logistic/templates/base/requirement/requirement_overview.xsl
2012-10-29 12:39:24 UTC (rev 10367)
+++ trunk/logistic/templates/base/requirement/requirement_overview.xsl
2012-10-29 12:53:55 UTC (rev 10368)
@@ -17,45 +17,8 @@
<xsl:template match="datasource-definition">
<script>
- /*YAHOO.portico.inlineTableHelper('requirement-container', url,
colDefs, null, null);
-
- YAHOO.portico.updateinlineTableHelper('allocation-container');
- */
- YAHOO.portico.setupDatasource = function() {
- <xsl:if test="source">
- YAHOO.portico.dataSourceUrl = '<xsl:value-of
select="source"/>';
- YAHOO.portico.initialSortedBy = false;
- YAHOO.portico.initialFilters = false;
- <xsl:if test="sorted_by">
- YAHOO.portico.initialSortedBy =
{key: '<xsl:value-of select="sorted_by/key"/>', dir: '<xsl:value-of
select="sorted_by/dir"/>'};
- </xsl:if>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="//datatable/actions">
- YAHOO.portico.actions = [
- <xsl:for-each
select="//datatable/actions">
- {
- my_name:
"<xsl:value-of select="my_name"/>",
- text:
"<xsl:value-of select="text"/>",
- <xsl:if
test="parameters">
-
parameters: <xsl:value-of select="parameters"/>,
- </xsl:if>
- action:
"<xsl:value-of select="action"/>"
- }<xsl:value-of
select="phpgw:conditional(not(position() = last()), ',', '')"/>
- </xsl:for-each>
- ];
- </xsl:when>
- <xsl:otherwise>
- YAHOO.portico.actions = [];
- </xsl:otherwise>
- </xsl:choose>
-
- YAHOO.portico.editor_action = "<xsl:value-of
select="//datatable/editor_action"/>";
- YAHOO.portico.disable_left_click = "<xsl:value-of
select="//datatable/disable_left_click"/>";
-
- YAHOO.portico.columnDefs = [
+ YAHOO.portico.columnDefs = [
<xsl:for-each select="//datatable/field">
{
resizeable: true,
@@ -77,15 +40,13 @@
}<xsl:value-of
select="phpgw:conditional(not(position() = last()), ',', '')"/>
</xsl:for-each>
];
- }
-
- var actions = new Array();
+
+
+ YAHOO.portico.inlineTableHelper('requirement-container', url,
colDefs, null, null);
- <xsl:choose>
- <xsl:when test="//js_lang != ''">
- var lang = <xsl:value-of select="//js_lang"/>;
- </xsl:when>
- </xsl:choose>
+ YAHOO.portico.inlineTableHelper('allocation-container', url,
colDefs, null, null);
+
+
</script>
</xsl:template>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10368],
Torstein <=