1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-23 05:16:03 +02:00

refactor(admin-plugin): remove unused js code from base.html #186

remove: js-settings-entry-modal
This commit is contained in:
Awilum
2019-08-26 22:16:22 +03:00
parent d676809ba1
commit 383cc6ac14

View File

@@ -291,10 +291,6 @@
$('.js-entry-id').attr('value', $(this).attr('data-entry-id'));
});
$('.js-settings-entry-modal').click(function () {
$('#settingsEntryModal').modal();
});
{% if is_current_path('admin.fieldsets.edit') or is_current_path('admin.templates.edit') or is_current_path('admin.snippets.edit') or (is_current_path('admin.entries.edit') and type == 'source') %}
var editor = CodeMirror.fromTextArea(document.getElementById("codeMirrorEditor"), {
lineNumbers: true,