Adapt to change to the Python GetNamedRanges()
Receive and display also the range definitions. Change-Id: I69bd1bf2659fd382fb0f3307119eef5fffb7b6bd
This commit is contained in:
parent
e87af96268
commit
0b728090f6
1 changed files with 6 additions and 1 deletions
7
loleaflet/dist/framed.html
vendored
7
loleaflet/dist/framed.html
vendored
|
@ -121,7 +121,12 @@
|
|||
var index = 0;
|
||||
var result = '';
|
||||
while (msg.Values.result.value.hasOwnProperty(index.toString())) {
|
||||
result += msg.Values.result.value[index.toString()].value + "\n";
|
||||
if (msg.Values.result.value[index.toString()].value.hasOwnProperty('0') &&
|
||||
msg.Values.result.value[index.toString()].value['0'].hasOwnProperty('value') &&
|
||||
msg.Values.result.value[index.toString()].value.hasOwnProperty('1') &&
|
||||
msg.Values.result.value[index.toString()].value['1'].hasOwnProperty('value'))
|
||||
result += msg.Values.result.value[index.toString()].value[0].value + ": " +
|
||||
msg.Values.result.value[index.toString()].value[1].value + "\n";
|
||||
index++;
|
||||
}
|
||||
document.forms['get-named-ranges-form'].elements['result'].value = result;
|
||||
|
|
Loading…
Reference in a new issue