aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--tpl/default/editlink.html2
-rw-r--r--tpl/default/js/shaarli.js7
3 files changed, 12 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 466c9107..1a87a8ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -160,6 +160,10 @@ Please use our release archives, or follow the
160- XSRF token now generated each time a page is rendered 160- XSRF token now generated each time a page is rendered
161 161
162 162
163## [v0.7.1](https://github.com/shaarli/Shaarli/releases/tag/v0.7.1) - 2017-03-08
164### Security
165- Markdown plugin: escape HTML entities by default
166
163## [v0.7.0](https://github.com/shaarli/Shaarli/releases/tag/v0.7.0) - 2016-05-14 167## [v0.7.0](https://github.com/shaarli/Shaarli/releases/tag/v0.7.0) - 2016-05-14
164### Added 168### Added
165- Adds an option to encode redirector URL parameter 169- Adds an option to encode redirector URL parameter
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index d6f81f96..2180c080 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -59,7 +59,7 @@
59 59
60 60
61 <div class="submit-buttons center"> 61 <div class="submit-buttons center">
62 <input type="submit" value="{'Save'|t}" name="save_edit" class=""> 62 <input type="submit" value="{'Save'|t}" name="save_edit" class="" id="button-save-edit">
63 {if="!$link_is_new"} 63 {if="!$link_is_new"}
64 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}" 64 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}"
65 title="" name="delete_link" class="button button-red confirm-delete"> 65 title="" name="delete_link" class="button button-red confirm-delete">
diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js
index d47c257f..f7de0a49 100644
--- a/tpl/default/js/shaarli.js
+++ b/tpl/default/js/shaarli.js
@@ -256,7 +256,14 @@ window.onload = function () {
256 256
257 resize(); 257 resize();
258 } 258 }
259
259 if (description != null) { 260 if (description != null) {
260 init(); 261 init();
262 // Submit editlink form with CTRL + Enter in the text area.
263 description.addEventListener('keydown', function (event) {
264 if (event.ctrlKey && event.keyCode === 13) {
265 document.getElementById('button-save-edit').click();
266 }
267 });
261 } 268 }
262}; 269};