From bde3340d4b47119280f093072ef30483c7db76d8 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Tue, 20 Apr 2021 11:20:48 +1000 Subject: [PATCH] Implement support for October CMS v2.0 --- controllers/posts/_post_toolbar.htm | 4 ++-- updates/version.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/posts/_post_toolbar.htm b/controllers/posts/_post_toolbar.htm index 7dc54e2..449effb 100644 --- a/controllers/posts/_post_toolbar.htm +++ b/controllers/posts/_post_toolbar.htm @@ -10,7 +10,7 @@ class="btn btn-primary oc-icon-check save" data-request="onSave" data-load-indicator="" - data-request-before-update="$el.trigger('unchange.oc.changeMonitor')" + data-request-before-update="$(this).trigger('unchange.oc.changeMonitor')" data-request-data="redirect:0" data-hotkey="ctrl+s, cmd+s"> @@ -21,7 +21,7 @@ diff --git a/updates/version.yaml b/updates/version.yaml index fcbd2ab..5bdbecd 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -58,3 +58,4 @@ 1.4.2: Fix 404 redirects for missing blog posts. Assign current category to the listed posts when using the Posts component on a page with the category parameter available. 1.4.3: Fixes incompatibility with locale switching when plugin is used in conjunction with the Translate plugin. Fixes undefined category error. 1.4.4: Rollback translated bylines, please move or override the default component markup instead. +1.5.0: Implement support for October CMS v2.0