Installed this on my D7 setup and can confirm this module is not working with CKEditor 7.x-1.16. No warning is shown when hitting the back button or closing the tab. I am using Minimalist Admin theme.

Comments

apoc1 created an issue. See original summary.

arled’s picture

// Add CKisEditedor support.
if (typeof (CKEDITOR) != 'undefined' && typeof (CKEDITOR.instances) != 'undefined') {
  for ( var i in CKEDITOR.instances) {
    if (CKEDITOR.instances[i].checkDirty()) {
      $isEdited.val('edited');
        break;
    }
  }
}

// Do only if isEdited flag is true.
if ($isEdited.val() == 'edited' && !isButtonClicked) {
  return (Drupal.t('You may lose any unsaved changes.'));
}
apoc1’s picture

Thanks, I have a look at it

Mohammed J. Razem’s picture

Status: Active » Closed (outdated)

Closing this as outdated as this version will no longer be supported/maintained.