Soporte para 10 operadores

This commit is contained in:
Juan Ferrer Toribio 2016-11-08 09:50:08 +01:00
parent d3b3c23ca4
commit 4138a2e07f
4 changed files with 19 additions and 9 deletions

View File

@ -98,6 +98,19 @@ var Support =
this.shell.run (command, 0, wait);
},
_onLoad: function ()
{
var select = this.$('operator');
for (var i = 1; i <= 10; i++)
{
var option = document.createElement ('option');
option.value = i;
option.appendChild (document.createTextNode (i));
select.appendChild (option);
}
},
_onStartClick: function ()
{
@ -118,3 +131,4 @@ var Support =
};
Support.init ();

View File

@ -20,16 +20,12 @@
sysmenu="yes"
windowsstate="normal"/>
</head>
<body onunload="javascript: Support._onUnload()">
<body
onload="javascript: Support._onLoad()"
onunload="javascript: Support._onUnload()">
<div id="body">
<label for="operator">Operador</label>
<select id="operator">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<select id="operator"></select>
</div>
<div id="footer">
<button

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-support (1.024-deb8) stable; urgency=low
vn-support (1.025-deb8) stable; urgency=low
* Initial Release.

Binary file not shown.