fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16134] fix add category


From: sigurdne
Subject: [Fmsystem-commits] [16134] fix add category
Date: Tue, 3 Jan 2017 16:03:34 +0000 (UTC)

Revision: 16134
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16134
Author:   sigurdne
Date:     2017-01-03 16:03:33 +0000 (Tue, 03 Jan 2017)
Log Message:
-----------
fix add category

Modified Paths:
--------------
    branches/dev-syncromind-2/property/js/portico/admin_entity.edit_category.js
    branches/dev-syncromind-2/property/templates/base/admin_entity.xsl

Modified: 
branches/dev-syncromind-2/property/js/portico/admin_entity.edit_category.js
===================================================================
--- branches/dev-syncromind-2/property/js/portico/admin_entity.edit_category.js 
2017-01-02 22:14:45 UTC (rev 16133)
+++ branches/dev-syncromind-2/property/js/portico/admin_entity.edit_category.js 
2017-01-03 16:03:33 UTC (rev 16134)
@@ -30,12 +30,14 @@
 
 this.onActionsClick = function ()
 {
+alert('hei');
        $(".mychecks:checked").each(function ()
        {
                values_tophp.push($(this).val());
        });
 
        document.form.template_attrib.value = values_tophp;
+       document.form.submit();
 }
 
 this.get_template_attributes = function ()

Modified: branches/dev-syncromind-2/property/templates/base/admin_entity.xsl
===================================================================
--- branches/dev-syncromind-2/property/templates/base/admin_entity.xsl  
2017-01-02 22:14:45 UTC (rev 16133)
+++ branches/dev-syncromind-2/property/templates/base/admin_entity.xsl  
2017-01-03 16:03:33 UTC (rev 16134)
@@ -437,6 +437,7 @@
        <script type="text/javascript">
                self.name="first_Window";
                <xsl:value-of select="lookup_functions"/>
+               var base_java_url = <xsl:value-of select="base_java_url"/>;
        </script>
        
        <dl>
@@ -915,7 +916,7 @@
                                        </xsl:choose>
                                        <tr height="50">
                                                <td>
-                                                       <input type="submit" 
class="pure-button pure-button-primary" name="values[save]" value="{lang_save}">
+                                                       <input type="button" 
class="pure-button pure-button-primary" name="values[save]" value="{lang_save}" 
onClick="onActionsClick();">
                                                                <xsl:attribute 
name="title">
                                                                        
<xsl:value-of select="php:function('lang', 'save')"/>
                                                                </xsl:attribute>




reply via email to

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