diff --git a/public/images/c3.png b/public/images/c3.png
new file mode 100644
index 00000000..971ab7c7
Binary files /dev/null and b/public/images/c3.png differ
diff --git a/views/default.handlebars b/views/default.handlebars
index 9aa08ddd..2f87f21d 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -7492,13 +7492,29 @@
function deskUpdateShortcutList() {
var x = '';
for (var i in deskKeyboardShortcuts) {
- var kt = keyShortcutTotext(deskKeyboardShortcuts[i]);
- x += '
' + kt + '
';
+ var kt = keyShortcutTotext(deskKeyboardShortcuts[i]), orderButtons = '';
+ if (i != (deskKeyboardShortcuts.length - 1)) { orderButtons += ''; }
+ if (i != 0) { orderButtons += ''; }
+ x += '' + kt + '
' + orderButtons + '
';
}
if (x == '') { x = '' + "No keyboard shortcuts defined" + ''; }
QH('d2shortcuts', x);
}
+ function deskCustomizeKeyDown(k) {
+ var i = deskKeyboardShortcuts.indexOf(k), x = deskKeyboardShortcuts[i + 1];
+ deskKeyboardShortcuts[i + 1] = deskKeyboardShortcuts[i];
+ deskKeyboardShortcuts[i] = x;
+ deskUpdateShortcutList();
+ }
+
+ function deskCustomizeKeyUp(k) {
+ var i = deskKeyboardShortcuts.indexOf(k), x = deskKeyboardShortcuts[i];
+ deskKeyboardShortcuts[i] = deskKeyboardShortcuts[i - 1];
+ deskKeyboardShortcuts[i - 1] = x;
+ deskUpdateShortcutList();
+ }
+
function removeDeskCustomizeKey(k) {
var na = [];
for (var i in deskKeyboardShortcuts) { if (deskKeyboardShortcuts[i] != k) { na.push(deskKeyboardShortcuts[i]); } }