Moved Core Table class to be used all over JCB.

This commit is contained in:
2022-11-20 10:51:56 +02:00
parent 9f5c7deec8
commit 1c7515d0f5
17 changed files with 548 additions and 463 deletions

View File

@ -613,6 +613,10 @@ const buttonUpdateAllStyleDisplay = async (value) => {
* JS Function to execute (A) on search/replace text change , (B) on search options changes
*/
const startSearch = (field, forced = false) => {
// check if we have an Enter click
if (field && typeof field.code !== 'undefined' && field.code === "Enter") {
forced = true;
}
// get replace value if set
const replaceValue = replaceObject.value;
if (replaceValue.length > 0) {