mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix displaying of alert when RichText is changed on refresh a page (#6736)
This commit is contained in:
parent
bc1cfbfb0e
commit
9e2411392c
@ -1,6 +1,10 @@
|
||||
HumHub Changelog
|
||||
================
|
||||
|
||||
1.15.2 (Unreleased)
|
||||
-------------------------
|
||||
- Fix #6708: Fix displaying of alert when RichText is changed on refresh a page
|
||||
|
||||
1.15.1 (December 13, 2023)
|
||||
-------------------------
|
||||
- Enh #6697: Make state badge customizable
|
||||
|
@ -422,6 +422,7 @@ humhub.module('client', function (module, require, $) {
|
||||
};
|
||||
|
||||
var formStateChanged = function ($form) {
|
||||
$form.find(':focus').blur(); // Unfocus in order to update textarea value from RichText editor
|
||||
return $form.data('state') && $form.data('state') !== serializeFormState($form);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user