Browse Source

fix(linter): Trim Trailing Whitespace

version-14
Shariq Ansari 3 years ago
parent
commit
d2e656eff5
2 changed files with 6 additions and 2 deletions
  1. +2
    -2
      frappe/public/js/frappe/form/grid_row.js
  2. +4
    -0
      package.json

+ 2
- 2
frappe/public/js/frappe/form/grid_row.js View File

@@ -205,7 +205,7 @@ export default class GridRow {
} }
render_row(refresh) { render_row(refresh) {
if (this.show_search && !this.show_search_row()) return; if (this.show_search && !this.show_search_row()) return;
let me = this; let me = this;
this.set_row_index(); this.set_row_index();


@@ -257,7 +257,7 @@ export default class GridRow {
if (e.target.value == "") { if (e.target.value == "") {
delete this.grid.filter['row-index']; delete this.grid.filter['row-index'];
} }
this.grid.grid_sortable this.grid.grid_sortable
.option('disabled', Object.keys(this.grid.filter).length !== 0); .option('disabled', Object.keys(this.grid.filter).length !== 0);




+ 4
- 0
package.json View File

@@ -21,7 +21,9 @@
}, },
"homepage": "https://frappeframework.com", "homepage": "https://frappeframework.com",
"dependencies": { "dependencies": {
"@cypress/code-coverage": "^3",
"@editorjs/editorjs": "2.20.0", "@editorjs/editorjs": "2.20.0",
"@testing-library/cypress": "^8",
"ace-builds": "^1.4.8", "ace-builds": "^1.4.8",
"air-datepicker": "github:frappe/air-datepicker", "air-datepicker": "github:frappe/air-datepicker",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
@@ -31,6 +33,8 @@
"cookie": "^0.4.0", "cookie": "^0.4.0",
"cropperjs": "^1.5.12", "cropperjs": "^1.5.12",
"cssnano": "^5.0.0", "cssnano": "^5.0.0",
"cypress": "^6",
"cypress-file-upload": "^5",
"driver.js": "^0.9.8", "driver.js": "^0.9.8",
"editorjs-undo": "0.1.6", "editorjs-undo": "0.1.6",
"express": "^4.17.1", "express": "^4.17.1",


Loading…
Cancel
Save