diff --git a/system/extensions/edit.js b/system/extensions/edit.js old mode 100644 new mode 100755 index 1341fa8..8a69e19 --- a/system/extensions/edit.js +++ b/system/extensions/edit.js @@ -377,7 +377,9 @@ yellow.edit = { document.getElementById("yellow-pane-account-name").value = yellow.user.name; document.getElementById("yellow-pane-account-email").value = yellow.user.email; document.getElementById("yellow-pane-account-password").value = ""; - document.getElementById("yellow-pane-account-"+yellow.user.language).checked = true; + if (document.getElementById("yellow-pane-account-"+yellow.user.language)) { + document.getElementById("yellow-pane-account-"+yellow.user.language).checked = true; + } } break; case "yellow-pane-configure": diff --git a/system/extensions/edit.php b/system/extensions/edit.php index 8b90efc..208ece5 100755 --- 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.42"; + const VERSION = "0.8.43"; 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 index 4559a1e..0a1f492 100644 --- a/system/extensions/update-current.ini +++ b/system/extensions/update-current.ini @@ -31,11 +31,11 @@ Tag: feature system/extensions/core.php: core.php, create, update Extension: Edit -Version: 0.8.42 +Version: 0.8.43 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: 2020-12-22 10:47:41 +Published: 2021-04-08 17:07:40 Developer: Datenstrom Tag: feature system/extensions/edit.php: edit.php, create, update