fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7804]


From: Torstein
Subject: [Fmsystem-commits] [7804]
Date: Tue, 04 Oct 2011 08:38:12 +0000

Revision: 7804
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7804
Author:   vator
Date:     2011-10-04 08:38:11 +0000 (Tue, 04 Oct 2011)
Log Message:
-----------


Modified Paths:
--------------
    trunk/rental/js/rental/common.js

Modified: trunk/rental/js/rental/common.js
===================================================================
--- trunk/rental/js/rental/common.js    2011-10-04 08:38:01 UTC (rev 7803)
+++ trunk/rental/js/rental/common.js    2011-10-04 08:38:11 UTC (rev 7804)
@@ -268,7 +268,9 @@
                        org_enhet_id = 
document.getElementById('org_enhet_id').value;
                        
                        // User must select an org unit from option list
-                       if( org_enhet_id == null){                      
+                       if( org_enhet_id == null){
+                               
document.getElementById('unit_errorMsg').style.display = 'none';
+                               
                                YAHOO.util.Connect.asyncRequest (
                                'POST',
                                
"index.php?menuaction=rental.uiparty.get_synchronize_party_info&phpgw_return_as=json&org_enhet_id="
 + org_enhet_id,
@@ -281,7 +283,7 @@
                                }
                                );
                        }else{
-                               
document.getElementById('unit_errorMsg').style.visibility = 'visible'; 
+                               
document.getElementById('unit_errorMsg').style.display = 'block'; 
                        }
                }
 );




reply via email to

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