Skip to content
Snippets Groups Projects
Commit abacade2 authored by enured's avatar enured
Browse files

B15491: Escaped underscore character for user-friendly search. Counter fixed...

B15491: Escaped underscore character for user-friendly search. Counter fixed after last changes. refs #15491
parent 217e0c32
No related branches found
No related tags found
2 merge requests!558Version 23.3.0,!537B15491: Escaped underscore character for user-friendly search. Counter fixed...
Pipeline #8871 passed
......@@ -174,7 +174,7 @@ form={{form:SE}}
head = <tbody>
tail = </tbody></table></div></div><input id='fe-box-counter' value='{{20.50.60.80.line.count}}' type='hidden'>
tail = </tbody></table></div></div><input id='fe-box-counter' value='{{30.60.70.90.line.count}}' type='hidden'>
rbeg = <tr>
rend = </tr>
fbeg = <td>
......@@ -243,7 +243,7 @@ form={{form:SE}}
head = <tbody>
tail = </tbody></table></div></div><input id='f-box-counter' value='{{20.50.100.120.line.count}}' type='hidden'>
tail = </tbody></table></div></div><input id='f-box-counter' value='{{30.60.100.120.line.count}}' type='hidden'>
rbeg = <tr>
rend = </tr>
fbeg = <td>
......@@ -311,7 +311,7 @@ form={{form:SE}}
head = <tbody>
tail = </tbody></table></div></div><input id='r-box-counter' value='{{20.50.130.150.line.count}}' type='hidden'>
tail = </tbody></table></div></div><input id='r-box-counter' value='{{30.60.130.150.line.count}}' type='hidden'>
rbeg = <tr>
rend = </tr>
fbeg = <td>
......@@ -380,7 +380,7 @@ form={{form:SE}}
head = <tbody>
tail = </tbody></table><input id='p-box-counter' value='{{20.50.160.180.line.count}}' type='hidden'>
tail = </tbody></table><input id='p-box-counter' value='{{30.60.160.180.line.count}}' type='hidden'>
rbeg = <tr>
renr = </tr>
fbeg = <td>
......@@ -403,13 +403,13 @@ form={{form:SE}}
200 {
sql = SELECT '<script> $(document).ready(function() {
var resultBoxes = document.getElementsByClassName("result-box-counter");
Array.from(resultBoxes).forEach(setCounter);
function setCounter(element) {
if (element.dataset !== undefined) {
var value = document.getElementById(element.dataset.boxId).value;
if (value >= 100) {
element.innerText = "100 or more rows reached!";
} } } }); </script>'
var resultBoxes = document.getElementsByClassName("result-box-counter");
Array.from(resultBoxes).forEach(setCounter);
function setCounter(element) {
if (element.dataset !== undefined) {
var value = document.getElementById(element.dataset.boxId).value;
if (value >= 100) {
element.innerText = "100 or more rows reached!";
} } } }); </script>'
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment