projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7c03914
)
Changed the way shift/ctrl are observed by the message view and it STILL doesn't...
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 11 Oct 2011 21:18:59 +0000
(17:18 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 11 Oct 2011 21:18:59 +0000
(17:18 -0400)
webcit/static/summaryview.js
patch
|
blob
|
history
diff --git
a/webcit/static/summaryview.js
b/webcit/static/summaryview.js
index 1806512aeb533136c7ec9bd18c4842860de8ab56..f3964c053d423a1e0b8495531b68d422eacd254b 100644
(file)
--- a/
webcit/static/summaryview.js
+++ b/
webcit/static/summaryview.js
@@
-454,17
+454,31
@@
function deleteAllSelectedMessages() {
deleteAllMarkedRows();
}
deleteAllMarkedRows();
}
+
+function arrgggh() {
+ s = '.';
+ if (is_shift_pressed) {
+ s = s + 'S';
+ }
+ s = s + '.';
+ if (is_ctrl_pressed) {
+ s = s + 'C';
+ }
+ s = s + '.';
+ $('ib_summary').innerHTML = s;
+
+}
+
function CtdlMessageListKeyDown(event) {
var key = event.which || event.keyCode;
if (key == 16) { /* SHIFT */
is_shift_pressed = true;
function CtdlMessageListKeyDown(event) {
var key = event.which || event.keyCode;
if (key == 16) { /* SHIFT */
is_shift_pressed = true;
- $('ib_summary').innerHTML = 'SHIFT';
}
else if ( (key == 17) || (key == 18) ) { /* CTRL or ALT */
}
else if ( (key == 17) || (key == 18) ) { /* CTRL or ALT */
- $('ib_summary').innerHTML = 'CTRL';
is_ctrl_pressed = true;
}
is_ctrl_pressed = true;
}
+ arrgggh();
}
function CtdlMessageListKeyUp(event) {
}
function CtdlMessageListKeyUp(event) {
@@
-472,15
+486,14
@@
function CtdlMessageListKeyUp(event) {
if (key == 16) { /* SHIFT */
is_shift_pressed = false;
if (key == 16) { /* SHIFT */
is_shift_pressed = false;
- $('ib_summary').innerHTML = ' ';
}
else if ( (key == 17) || (key == 18) ) { /* CTRL or ALT */
is_ctrl_pressed = false;
}
else if ( (key == 17) || (key == 18) ) { /* CTRL or ALT */
is_ctrl_pressed = false;
- $('ib_summary').innerHTML = ' ';
}
else if (key == 46) { /* DELETE */
deleteAllSelectedMessages();
}
}
else if (key == 46) { /* DELETE */
deleteAllSelectedMessages();
}
+ arrgggh();
}
function clearMessage(msgId) {
}
function clearMessage(msgId) {