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:
7ee5536
)
KILL THE ENTIRE IE9 DEVELOPMENT TEAM NOW
author
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 11 Oct 2011 21:48:19 +0000
(17:48 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Tue, 11 Oct 2011 21:48:19 +0000
(17:48 -0400)
webcit/static/summaryview.js
patch
|
blob
|
history
diff --git
a/webcit/static/summaryview.js
b/webcit/static/summaryview.js
index 407c2af9db980f89d2b0f735ad0ad6ed90d3ec12..1e1e2d94eab5a93f77d30852bdb17c9f9dbc3251 100644
(file)
--- a/
webcit/static/summaryview.js
+++ b/
webcit/static/summaryview.js
@@
-225,7
+225,7
@@
function resortAndDisplay(sortMode) {
var compile = compiled.join("");
start = new Date();
$(message_view_parent).update(compile);
var compile = compiled.join("");
start = new Date();
$(message_view_parent).update(compile);
- message_view_parent.o
nclick = CtdlMessageListClick
;
+ message_view_parent.o
bserve('click', CtdlMessageListClick)
;
message_view = message_view_parent.firstChild;
end = new Date();
var delta = end.getTime() - start.getTime();
message_view = message_view_parent.firstChild;
end = new Date();
var delta = end.getTime() - start.getTime();
@@
-269,11
+269,23
@@
function CtdlMessageListClick(evt) {
var target = event.target ? event.target: event.srcElement; // and again..
var parent = target.parentNode;
var msgId = parent.getAttribute("citadel:msgid");
var target = event.target ? event.target: event.srcElement; // and again..
var parent = target.parentNode;
var msgId = parent.getAttribute("citadel:msgid");
- var is_shift_pressed = 0;
- var is_ctrl_pressed = 0;
+ var is_shift_pressed = event.shiftKey;
+ var is_ctrl_pressed = event.ctrlKey;
+
+/* debugging
+ str = '.';
+ if (is_shift_pressed) {
+ str = str + 'S';
+ }
+ str = str + '.';
+ if (is_ctrl_pressed) {
+ str = str + 'C';
+ }
+ str = str + '.';
+ $('ib_summary').innerHTML = str;
+*/
+
// If the ctrl key modifier wasn't used, unmark all rows and load the message
// If the ctrl key modifier wasn't used, unmark all rows and load the message
- is_shift_pressed = event.shiftKey;
- is_ctrl_pressed = event.ctrlKey;
if (!is_shift_pressed && !is_ctrl_pressed) {
previousFinish = 0;
markedFrom = 0;
if (!is_shift_pressed && !is_ctrl_pressed) {
previousFinish = 0;
markedFrom = 0;