fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12851]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12851]
Date: Thu, 12 Mar 2015 16:12:01 +0000

Revision: 12851
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12851
Author:   nelson224
Date:     2015-03-12 16:12:00 +0000 (Thu, 12 Mar 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uirequest.inc.php

Modified: branches/dev-syncromind/property/inc/class.uirequest.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-03-12 00:25:59 UTC (rev 12850)
+++ branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-03-12 16:12:00 UTC (rev 12851)
@@ -859,24 +859,21 @@
                                                'text'                  => 
lang('Update project'),
                                                'type'                  => 
'custom',
                                                'custom_code'   => "
-                                                                               
        var myChecks = $('.mychecks');
                                                                                
        
+                                                                               
        var myChecks = $('.mychecks:checked');
                                                                                
        if (myChecks.length == 0) {
                                                                                
                alert('Any box selected');
                                                                                
                return;
                                                                                
        }
-
+                                                                               
        
                                                                                
        for(i=0;i<myChecks.length;i++)
-                                                                               
        {
-                                                                               
                if(myChecks[i].checked)
-                                                                               
                {                       
+                                                                               
        {                       
                                                                                
                   $('<input>').attr({
                                                                                
                           type: 'hidden',
                                                                                
                           id: 'add_request[request_id][]',
                                                                                
                           name: 'add_request[request_id][]',
                                                                                
                           value: myChecks[i].value
                                                                                
                   }).appendTo('#custom_values_form');                   
-                                                                               
                }
                                                                                
        }
 
                                                                                
        var path_update = new Array();




reply via email to

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