mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-28 10:19:21 +02:00
Fix admin menu news editing warning when leaving page without touching the inputs
This commit is contained in:
parent
2af968031c
commit
53078e046e
@ -158,7 +158,7 @@
|
|||||||
toolbar1: 'formatselect | bold italic strikethrough forecolor backcolor | emoticons link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat code',
|
toolbar1: 'formatselect | bold italic strikethrough forecolor backcolor | emoticons link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat code',
|
||||||
image_advtab: true,
|
image_advtab: true,
|
||||||
setup: function(ed){
|
setup: function(ed){
|
||||||
ed.on('NodeChange', function(e) {
|
ed.on('Change', function(e) {
|
||||||
if(ed.getContent() != lastContent) {
|
if(ed.getContent() != lastContent) {
|
||||||
unsaved = true;
|
unsaved = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user