Commit b024a20e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Increase listbox footer colspan when selecting lines

parent 830c2bb7
......@@ -521,7 +521,7 @@
.push(function (url_list) {
var foot = {};
foot.colspan = column_list.length + gadget.state.show_anchor +
(gadget.state.line_icon ? 1 : 0);
(gadget.state.line_icon ? 1 : 0) + gadget.state.show_line_selector;
foot.previous_classname = "ui-btn ui-icon-carat-l ui-btn-icon-left responsive ui-first-child";
foot.previous_url = url_list[0];
foot.next_classname = "ui-btn ui-icon-carat-r ui-btn-icon-right responsive ui-last-child";
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.40734.12928.52855</string> </value>
<value> <string>964.20125.49209.53111</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1511430200.52</float>
<float>1514279169.73</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -128,6 +128,11 @@
<td>//thead/tr/th[3]</td>
<td>Quantity</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//tfoot/tr/th[@colspan="3"]</td>
<td></td>
</tr>
<tr>
......@@ -164,6 +169,11 @@
<td>//thead/tr/th[4]</td>
<td>Quantity</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//tfoot/tr/th[@colspan="4"]</td>
<td></td>
</tr>
<!-- Line checkbox -->
......@@ -223,6 +233,11 @@
<td>//thead/tr/th[3]</td>
<td>Quantity</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//tfoot/tr/th[@colspan="3"]</td>
<td></td>
</tr>
<!-- only one element present -->
<tr>
......
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