mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 5584a0d7580b2d42fa1576668304e4c24991c9aa
parent 226dbb22e62f78b11e5c6208ec528da69109002a
Author: markseu <mark2011@mayberg.se>
Date:   Sat, 29 May 2021 10:49:03 +0200

Updated API, changed JavaScript initialisation event to DOMContentLoaded

Diffstat:
Msystem/extensions/edit.js | 2+-
Msystem/extensions/edit.php | 2+-
Msystem/extensions/update-current.ini | 4++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/extensions/edit.js b/system/extensions/edit.js @@ -814,7 +814,7 @@ yellow.edit = { if (showPreview) { this.updateToolbar("preview", "yellow-toolbar-checked"); elementPreview.innerHTML = responseText; - dispatchEvent(new Event("load")); + dispatchEvent(new Event("DOMContentLoaded")); } else { this.updateToolbar(0, "yellow-toolbar-checked"); elementText.focus(); diff --git a/system/extensions/edit.php b/system/extensions/edit.php @@ -2,7 +2,7 @@ // Edit extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/edit class YellowEdit { - const VERSION = "0.8.45"; + const VERSION = "0.8.46"; public $yellow; // access to API public $response; // web response public $merge; // text merge diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -37,11 +37,11 @@ system/layouts/navigation.html: navigation.html, create, update, careful system/layouts/pagination.html: default.html, create, update, careful Extension: Edit -Version: 0.8.45 +Version: 0.8.46 Description: Edit your website in a web browser. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/edit DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/edit.zip -Published: 2021-04-20 11:46:29 +Published: 2021-05-29 10:18:59 Developer: Datenstrom Tag: feature system/extensions/edit.php: edit.php, create, update