fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7452] nomsg


From: Sigurd Nes
Subject: [Fmsystem-commits] [7452] nomsg
Date: Wed, 29 Jun 2011 14:01:53 +0000

Revision: 7452
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7452
Author:   sigurdne
Date:     2011-06-29 14:01:53 +0000 (Wed, 29 Jun 2011)
Log Message:
-----------
nomsg

Modified Paths:
--------------
    trunk/property/js/yahoo/entity.index.js

Modified: trunk/property/js/yahoo/entity.index.js
===================================================================
--- trunk/property/js/yahoo/entity.index.js     2011-06-29 14:01:42 UTC (rev 
7451)
+++ trunk/property/js/yahoo/entity.index.js     2011-06-29 14:01:53 UTC (rev 
7452)
@@ -45,6 +45,7 @@
        {
                if(flag_particular_setting=='init')
                {
+
                        //category
 /*
                        index = 
locate_in_array_options(0,"value",path_values.cat_id);
@@ -54,33 +55,45 @@
                        }
 */
                        //district
-                       index = 
locate_in_array_options(1,"value",path_values.district_id);
-                       if(index)
+                       
+                       if(selectsButtons[1])
                        {
-                               oMenuButton_1.set("label", ("<em>" + 
array_options[1][index][1] + "</em>"));
+                               index = 
locate_in_array_options(1,"value",path_values.district_id);
+                               if(index)
+                               {
+                                       oMenuButton_1.set("label", ("<em>" + 
array_options[1][index][1] + "</em>"));
+                               }
                        }
 
                        //status
-                       index = 
locate_in_array_options(2,"value",path_values.status);
-                       if(index)
+                       if(selectsButtons[2])
                        {
-                               oMenuButton_2.set("label", ("<em>" + 
array_options[2][index][1] + "</em>"));
+                               index = 
locate_in_array_options(2,"value",path_values.status);
+                               if(index)
+                               {
+                                       oMenuButton_2.set("label", ("<em>" + 
array_options[2][index][1] + "</em>"));
+                               }
                        }
 
                        //filter
-                       index = 
locate_in_array_options(3,"value",path_values.filter);
-                       if(index)
+                       if(selectsButtons[3])
                        {
-                               oMenuButton_3.set("label", ("<em>" + 
array_options[3][index][1] + "</em>"));
+                               index = 
locate_in_array_options(3,"value",path_values.filter);
+                               if(index)
+                               {
+                                       oMenuButton_3.set("label", ("<em>" + 
array_options[3][index][1] + "</em>"));
+                               }
                        }
 
                        //district
-                       index = 
locate_in_array_options(4,"value",path_values.criteria_id);
-                       if(index)
+                       if(selectsButtons[4])
                        {
-                               oMenuButton_4.set("label", ("<em>" + 
array_options[4][index][1] + "</em>"));
+                               index = 
locate_in_array_options(4,"value",path_values.criteria_id);
+                               if(index)
+                               {
+                                       oMenuButton_4.set("label", ("<em>" + 
array_options[4][index][1] + "</em>"));
+                               }
                        }
-
                        //eliminate "no category" option because is necesary 
have a category in the  PHP query
        //              delete oMenuButton_0.getMenu().itemData[0];
                        //correcting it. now look for value 




reply via email to

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