Issue #2133871 by Wim Leers: Remove dead code from Edit: Drupal.edit.AppView.enableEditor.