Russia
|
First modification:
Simple editor static/js/seditor.js:- function seditor_ctlent(event, script) {
- if(event.ctrlKey && event.keyCode == 13 || event.altKey && event.keyCode == 83) {
- eval(script);
- }
- }
Copy the Code Change the second line to:- if(event.ctrlKey && event.keyCode == 13 ) {
Copy the Code Second modification:
static/js/editor.js, line 405:- function ctlent(event) {
- if(postSubmited == false && (event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83) && editorsubmit) {
Copy the Code Change the second line to:- if(postSubmited == false && (event.ctrlKey && event.keyCode == 13) && editorsubmit) {
Copy the Code Third change:
static/js/forum_post.js, line 43:- function ctlent(event) {
- if(postSubmited == false && (event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83) && $('postsubmit')) {
Copy the Code Change the second line to:- if(postSubmited == false && (event.ctrlKey && event.keyCode == 13) && $('postsubmit')) {
Copy the Code |
|