From 216b4e80b28110d4150c486ff8690d737f5ce442 Mon Sep 17 00:00:00 2001 From: Aris Feryanto Date: Tue, 28 Jun 2011 09:33:09 +0800 Subject: [PATCH] Better shift+click handling --- js/functions.js | 181 +++++++++++++++++++++++++++++------------------- js/makegrid.js | 24 ------- 2 files changed, 110 insertions(+), 95 deletions(-) diff --git a/js/functions.js b/js/functions.js index 436805c200..bfec14c7b8 100644 --- a/js/functions.js +++ b/js/functions.js @@ -613,6 +613,7 @@ function checkTransmitDump(theForm, theAction) } // end of the 'checkTransmitDump()' function $(document).ready(function() { + $('*').noSelect(); /** * Row marking in horizontal mode (use "live" so that it works also for * next pages reached via AJAX); a tr may have the class noclick to remove @@ -623,24 +624,71 @@ $(document).ready(function() { if ($(e.target).is('a, img, a *')) { return; } - // XXX: FF fires two click events for