Sfoglia il codice sorgente

fix(linter): Trim Trailing Whitespace

version-14
Shariq Ansari 3 anni fa
parent
commit
5a0dc5d7c8
2 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. +1
    -1
      frappe/public/js/frappe/form/grid.js
  2. +7
    -7
      frappe/public/js/frappe/form/grid_row.js

+ 1
- 1
frappe/public/js/frappe/form/grid.js Vedi File

@@ -559,7 +559,7 @@ export default class Grid {
return data;
}
} else if (fieldtype === "Barcode" && fieldvalue) {
let barcode = fieldvalue.startsWith('<svg') ?
let barcode = fieldvalue.startsWith('<svg') ?
$(fieldvalue).attr('data-barcode-value') : fieldvalue;

if (barcode.toLowerCase().includes(value)) {


+ 7
- 7
frappe/public/js/frappe/form/grid_row.js Vedi File

@@ -243,7 +243,7 @@ export default class GridRow {
).appendTo(this.row);

this.row_index.find('input').on('keyup', (e) => {
clearTimeout(timer);
clearTimeout(timer);
timer = setTimeout(() => {
let df = {
fieldtype: "Sr No"
@@ -666,12 +666,12 @@ export default class GridRow {
.appendTo(this.row);

let $search_input = $(`
<input
type="text"
class="form-control input-xs ${input_class}"
title="${title}"
data-fieldtype="${df.fieldtype}"
${is_disabled}
<input
type="text"
class="form-control input-xs ${input_class}"
title="${title}"
data-fieldtype="${df.fieldtype}"
${is_disabled}
>
`).appendTo($col);



Caricamento…
Annulla
Salva