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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user