[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7897] property: selected element
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7897] property: selected element |
Date: |
Wed, 19 Oct 2011 10:42:02 +0000 |
Revision: 7897
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7897
Author: sigurdne
Date: 2011-10-19 10:42:01 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
property: selected element
Modified Paths:
--------------
trunk/property/js/yahoo/document.list_doc.js
Modified: trunk/property/js/yahoo/document.list_doc.js
===================================================================
--- trunk/property/js/yahoo/document.list_doc.js 2011-10-19 07:04:36 UTC
(rev 7896)
+++ trunk/property/js/yahoo/document.list_doc.js 2011-10-19 10:42:01 UTC
(rev 7897)
@@ -36,6 +36,13 @@
{
if(flag_particular_setting=='init')
{
+ //doc_type
+ index =
locate_in_array_options(0,"value",path_values.doc_type);
+ if(index)
+ {
+ oMenuButton_0.set("label", ("<em>" +
array_options[0][index][1] + "</em>"));
+ }
+
oMenuButton_0.focus();
create_table_info_invoice_sub();
}
@@ -89,25 +96,25 @@
}
else
{
- //Suppress the street_id from
the address
-
if(!values_ds.current_consult[i]['extra'][1])
- {
+ //Suppress the street_id from
the address
+
if(!values_ds.current_consult[i]['extra'][1])
+ {
newTD.appendChild(document.createTextNode(values_ds.current_consult[i]['value']));
-
newTD.setAttribute("width","20");
+
newTD.setAttribute("width","20");
}
}
newTR.appendChild(newTD);
- newTD = document.createElement('td');
+ newTD = document.createElement('td');
var adress =
values_ds.current_consult[i]['extra'][0]['value'];
-
- //The street number
-
if(values_ds.current_consult[i]['extra'][1])
- {
+
+ //The street number
+
if(values_ds.current_consult[i]['extra'][1])
+ {
adress = adress +
values_ds.current_consult[i]['extra'][1]['value'];
}
-
+
newTD.appendChild(document.createTextNode(adress));
newTR.appendChild(newTD);
newTbody.appendChild(newTR);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7897] property: selected element,
Sigurd Nes <=