mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
added function setButtonKey
This commit is contained in:
parent
cb06154faa
commit
1c8accbcac
4 changed files with 27 additions and 12 deletions
|
|
@ -231,7 +231,7 @@ var CloudCommander, Util, DOM, CloudFunc, CodeMirror;
|
|||
/* добавляем обработчик клавишь */
|
||||
DOM.addKeyListener( lKeyListener );
|
||||
|
||||
DOM.getById('f4').onclick = lEditor;
|
||||
DOM.setButtonKey('f4', lEditor);
|
||||
};
|
||||
|
||||
cloudcmd.Editor.CodeMirror = CodeMirrorEditor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue