fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12420]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12420]
Date: Thu, 04 Dec 2014 23:23:03 +0000

Revision: 12420
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12420
Author:   nelson224
Date:     2014-12-04 23:23:02 +0000 (Thu, 04 Dec 2014)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/templates/base/entity.xsl

Modified: branches/dev-syncromind/property/templates/base/entity.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/entity.xsl  2014-12-04 
19:36:07 UTC (rev 12419)
+++ branches/dev-syncromind/property/templates/base/entity.xsl  2014-12-04 
23:23:02 UTC (rev 12420)
@@ -796,6 +796,10 @@
                                        </xsl:when>
                                </xsl:choose>
                        </form>
+                       <xsl:variable name="cancel_url">
+                               <xsl:value-of select="cancel_url"/>
+                       </xsl:variable>
+                       <form name="cancel_form" id="cancel_form" 
action="{$cancel_url}" method="post"></form>
                        <xsl:choose>
                                <xsl:when test="value_id!='' and lean !=1">
                                        <table cellpadding="2" cellspacing="2" 
width="80%" align="center">
@@ -903,7 +907,7 @@
                                                        <xsl:variable 
name="lang_cancel">
                                                                <xsl:value-of 
select="php:function('lang', 'cancel')"/>
                                                        </xsl:variable>
-                                                       <input type="submit" 
class="pure-button pure-button-primary" name="values[cancel]" 
value="{$lang_cancel}">
+                                                       <input type="button" 
class="pure-button pure-button-primary" name="values[cancel]" 
value="{$lang_cancel}" onMouseout="window.status='';return true;" 
onClick="document.cancel_form.submit();">
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="php:function('lang', 'Back to the list')"/>
                                                                </xsl:attribute>
@@ -1054,8 +1058,8 @@
                                }
                        }
        ]]>
+                       var options = {disablePagination:true, 
disableFilter:true};
+                       JqueryPortico.inlineTableHelper("<xsl:value-of 
select="$container"/>", <xsl:value-of select="$requestUrl"/>, columns, options);
 
-                       JqueryPortico.inlineTableHelper("<xsl:value-of 
select="$container"/>", <xsl:value-of select="$requestUrl"/>, columns);
-
                </script>
        </xsl:template>
\ No newline at end of file




reply via email to

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