Skip to content

Commit

Permalink
Merge pull request #2667 from resilient-tech/mergify/bp/version-15-ho…
Browse files Browse the repository at this point in the history
…tfix/pr-2665

fix: apply css to specific fields (backport #2665)
  • Loading branch information
mergify[bot] authored Oct 16, 2024
2 parents c2531ca + 4021e06 commit 05a0282
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 8 additions & 1 deletion india_compliance/gst_india/client_scripts/stock_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ frappe.ui.form.on(DOCTYPE, {
);
},

refresh() {
refresh(frm) {
frm.get_field("bill_to_address_display")
.$wrapper.find(".ql-editor")
.css("white-space", "normal");
frm.get_field("bill_from_address_display")
.$wrapper.find(".ql-editor")
.css("white-space", "normal");

if (!gst_settings.enable_e_waybill || !gst_settings.enable_e_waybill_for_sc)
return;

Expand Down
2 changes: 0 additions & 2 deletions india_compliance/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
setup_wizard_stages = "india_compliance.setup_wizard.get_setup_wizard_stages"

app_include_js = "india_compliance.bundle.js"
app_include_css = "india_compliance.bundle.css"


doctype_js = {
"Address": "gst_india/client_scripts/address.js",
Expand Down
3 changes: 0 additions & 3 deletions india_compliance/public/scss/india_compliance.bundle.scss

This file was deleted.

0 comments on commit 05a0282

Please sign in to comment.