fix: deprecated initHighlighting (#36938)
* fix: remove read_only decorator from get_desktop_page get_desktop_page leads to a call to check_completions which calls save and thus with the read_only decorator calls save on the read replica * fix: Move write operation out of read only request * fix: deprecated initHighlighting Deprecated as of 10.6.0. initHighlighting() is deprecated. Use highlightAll() instead. --------- Co-authored-by: Apile Tyumre <apiletyumre@iridescentsun.com> Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
parent
ee007d839b
commit
df78027f41
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ $.extend(frappe, {
|
|||
},
|
||||
|
||||
highlight_code_blocks: function () {
|
||||
hljs.initHighlighting();
|
||||
hljs.highlightAll();
|
||||
},
|
||||
bind_filters: function () {
|
||||
// set in select
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue