fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13564] controller: control_item_type


From: Sigurd Nes
Subject: [Fmsystem-commits] [13564] controller: control_item_type
Date: Mon, 06 Jul 2015 13:59:54 +0000

Revision: 13564
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13564
Author:   sigurdne
Date:     2015-07-06 13:59:54 +0000 (Mon, 06 Jul 2015)
Log Message:
-----------
controller: control_item_type

Modified Paths:
--------------
    trunk/controller/inc/class.uicontrol_item.inc.php
    trunk/controller/js/controller/ajax.js

Modified: trunk/controller/inc/class.uicontrol_item.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol_item.inc.php   2015-07-03 22:55:25 UTC 
(rev 13563)
+++ trunk/controller/inc/class.uicontrol_item.inc.php   2015-07-06 13:59:54 UTC 
(rev 13564)
@@ -271,7 +271,6 @@
                        $type = phpgw::get_var('control_item_type');
                        $control_group_id = phpgw::get_var('control_group');
                        $control_area_id = phpgw::get_var('control_area');
-                       $type = phpgw::get_var('control_item_type');
                        $what_to_do_txt = phpgw::get_var('what_to_do','html');
                        $what_to_do_txt = str_replace(" ", " ", 
$what_to_do_txt);
                        $how_to_do_txt = phpgw::get_var('how_to_do','html');

Modified: trunk/controller/js/controller/ajax.js
===================================================================
--- trunk/controller/js/controller/ajax.js      2015-07-03 22:55:25 UTC (rev 
13563)
+++ trunk/controller/js/controller/ajax.js      2015-07-06 13:59:54 UTC (rev 
13564)
@@ -346,7 +346,7 @@
                $(".control_item_type").find(".btn").removeClass("active");
                
                // Makes button active and checkes underlying radiobutton
-               $(thisRadio).attr("checked", "checked");
+               $(thisRadio).prop("checked", true);
                $(thisBtn).addClass("active");
                
                var control_item_type = $(this).find("input[type=radio]").val();




reply via email to

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