Soporte para 10 operadores
This commit is contained in:
parent
d3b3c23ca4
commit
4138a2e07f
|
@ -98,6 +98,19 @@ var Support =
|
||||||
|
|
||||||
this.shell.run (command, 0, wait);
|
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 ()
|
_onStartClick: function ()
|
||||||
{
|
{
|
||||||
|
@ -118,3 +131,4 @@ var Support =
|
||||||
};
|
};
|
||||||
|
|
||||||
Support.init ();
|
Support.init ();
|
||||||
|
|
||||||
|
|
|
@ -20,16 +20,12 @@
|
||||||
sysmenu="yes"
|
sysmenu="yes"
|
||||||
windowsstate="normal"/>
|
windowsstate="normal"/>
|
||||||
</head>
|
</head>
|
||||||
<body onunload="javascript: Support._onUnload()">
|
<body
|
||||||
|
onload="javascript: Support._onLoad()"
|
||||||
|
onunload="javascript: Support._onUnload()">
|
||||||
<div id="body">
|
<div id="body">
|
||||||
<label for="operator">Operador</label>
|
<label for="operator">Operador</label>
|
||||||
<select id="operator">
|
<select id="operator"></select>
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
vn-support (1.024-deb8) stable; urgency=low
|
vn-support (1.025-deb8) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue