Changes for page XWiki Keyboard Shortcuts

Last modified by Lucas Charpentier (Sereza7) on 2024/02/27

<
From version < 6.6 >
edited by Jean-Vincent Drean
on 2009/12/10
To version < 6.5 >
edited by Jean-Vincent Drean
on 2009/12/10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -92,7 +92,7 @@
92 92   shortcut.remove("Ctrl+Alt+n");
93 93  }
94 94  </script>
95 -<a onclick="removeCtrlAltN(); return false;" href="#">Click here to try the snippet, it will remove the Ctrl+Alt+n shortcut</a>.
95 +<a onclick="removeCtrlAltN();">Click here to try the snippet, will remove the Ctrl+Alt+n shortcut</a>.
96 96  {{/html}}
97 97  
98 98  == Removing all shortcuts at once ==
... ... @@ -112,14 +112,11 @@
112 112  {{html clean="false"}}
113 113  <script type="text/javascript">
114 114  //<![CDATA[
115 -function removeAll() {
116 116   for (binding in shortcut.all_shortcuts) {
117 117   shortcut.remove(binding);
118 118   }
119 -}
120 120  //]]>
121 121  </script>
122 -<a onclick="removeAll(); return false;" href="#">Click here to try the snippet, it will disable all keyboard shortcuts</a>.
123 123  {{/html}}
124 124  #end
125 125  {{velocity}}

Get Connected