git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
effb5f3
)
edit/page: describe hotkey letter in save plugin
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 27 Dec 2020 01:39:12 +0000
(
02:39
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 30 Dec 2020 23:22:16 +0000
(
00:22
+0100)
Minor code cleanup of a magic value.
edit/page.js
patch
|
blob
|
history
diff --git
a/edit/page.js
b/edit/page.js
index c3ece3c0fbf7ec81c54edb1a0994d4c63e0330a8..76328355a92a3bd195dfc9e974d1b33282f5175f 100644
(file)
--- a/
edit/page.js
+++ b/
edit/page.js
@@
-57,7
+57,7
@@
CKEDITOR.plugins.add('inlinesave', {
ajaxpost.send(data);
},
});
- editor.setKeystroke(CKEDITOR.CTRL +
83 /*S*/
, 'inlinesave');
+ editor.setKeystroke(CKEDITOR.CTRL +
'S'.charCodeAt(0)
, 'inlinesave');
editor.ui.addButton( 'Inlinesave', {
command: 'inlinesave',
label: editor.lang.save.toolbar,