mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 21:33:01 +02:00
Merge branch 'dev' into #218
This commit is contained in:
@@ -264,16 +264,6 @@
|
||||
$("#form").submit();
|
||||
});
|
||||
|
||||
$('.navbar-toggler').click(function () {
|
||||
$('.sidebar').addClass('show-sidebar');
|
||||
$('.sidebar-off-canvas').addClass('show-sidebar-off-canvas');
|
||||
});
|
||||
|
||||
$('.sidebar-off-canvas').click(function () {
|
||||
$('.sidebar').removeClass('show-sidebar');
|
||||
$('.sidebar-off-canvas').removeClass('show-sidebar-off-canvas');
|
||||
});
|
||||
|
||||
$('.js-plugins-info').click(function () {
|
||||
$('#pluginInfoModal').modal();
|
||||
$('.js-plugin-name-placeholder').html($(this).attr('data-name'));
|
||||
@@ -301,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