Skip to content

Commit bde3340

Browse files
committed
Implement support for October CMS v2.0
1 parent 536537a commit bde3340

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

controllers/posts/_post_toolbar.htm

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class="btn btn-primary oc-icon-check save"
1111
data-request="onSave"
1212
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
13-
data-request-before-update="$el.trigger('unchange.oc.changeMonitor')"
13+
data-request-before-update="$(this).trigger('unchange.oc.changeMonitor')"
1414
<?php if (!$isCreate): ?>data-request-data="redirect:0"<?php endif ?>
1515
data-hotkey="ctrl+s, cmd+s">
1616
<?= e(trans('backend::lang.form.save')) ?>
@@ -21,7 +21,7 @@
2121
<a
2222
href="javascript:;"
2323
class="btn btn-primary oc-icon-check save"
24-
data-request-before-update="$el.trigger('unchange.oc.changeMonitor')"
24+
data-request-before-update="$(this).trigger('unchange.oc.changeMonitor')"
2525
data-request="onSave"
2626
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>">
2727
<?= e(trans('backend::lang.form.save_and_close')) ?>

updates/version.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@
5858
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.
5959
1.4.3: Fixes incompatibility with locale switching when plugin is used in conjunction with the Translate plugin. Fixes undefined category error.
6060
1.4.4: Rollback translated bylines, please move or override the default component markup instead.
61+
1.5.0: Implement support for October CMS v2.0

0 commit comments

Comments
 (0)