Commit 77397fc7 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Set default to 20 on the list boxes for the modules.

parent 7288a206
......@@ -57,7 +57,7 @@
return new RSVP.Queue()
.push(function () {
return gadget.getSetting("listbox_lines_limit", 100);
return gadget.getSetting("listbox_lines_limit", 20);
})
.push(function (listbox_lines_limit) {
lines_limit = listbox_lines_limit;
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.18649.783.63436</string> </value>
<value> <string>963.18649.54650.14865</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1510025869.98</float>
<float>1518609259.33</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -93,7 +93,7 @@
return new RSVP.Queue()
.push(function () {
return gadget.getSetting("listbox_lines_limit", 100);
return gadget.getSetting("listbox_lines_limit", 20);
})
.push(function (listbox_lines_limit) {
lines_limit = listbox_lines_limit;
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.22041.26321.21384</string> </value>
<value> <string>965.22042.48302.20053</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1518007364.17</float>
<float>1518609179.87</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -56,7 +56,7 @@
return new RSVP.Queue()
.push(function () {
return gadget.getSetting("listbox_lines_limit", 100);
return gadget.getSetting("listbox_lines_limit", 20);
})
.push(function (listbox_lines_limit) {
lines_limit = listbox_lines_limit;
......
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1510026922.12</float>
<float>1518609250.97</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -57,7 +57,7 @@
return new RSVP.Queue()
.push(function () {
return RSVP.all([
gadget.getSetting("listbox_lines_limit", 100),
gadget.getSetting("listbox_lines_limit", 20),
gadget.getSetting("me")
]);
})
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>964.7077.15223.50978</string> </value>
<value> <string>964.27284.21724.60842</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1514389699.83</float>
<float>1518609209.74</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -56,7 +56,7 @@
return new RSVP.Queue()
.push(function () {
return gadget.getSetting("listbox_lines_limit", 100);
return gadget.getSetting("listbox_lines_limit", 20);
})
.push(function (listbox_lines_limit) {
lines_limit = listbox_lines_limit;
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.308.11319.13806</string> </value>
<value> <string>963.19363.3737.43042</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1510068663.21</float>
<float>1518609234.85</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -57,7 +57,7 @@
return new RSVP.Queue()
.push(function () {
return RSVP.all([
gadget.getSetting("listbox_lines_limit", 100),
gadget.getSetting("listbox_lines_limit", 20),
gadget.getSetting("me")
]);
})
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.20753.24582.19319</string> </value>
<value> <string>964.7079.21882.15803</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1513177399.98</float>
<float>1518609223.78</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -31,7 +31,7 @@
return new RSVP.Queue()
.push(function () {
return RSVP.all([
gadget.getSetting("listbox_lines_limit", 100),
gadget.getSetting("listbox_lines_limit", 20),
gadget.getSetting("me")
]);
})
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>964.4068.44789.19387</string> </value>
<value> <string>964.27284.54584.40123</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1514389729.92</float>
<float>1518609197.68</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment