From 0b1f82cc79787439572a9b2c3c3fdba7fc6a87a5 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 4 Jan 2007 18:19:59 +0000 Subject: [PATCH] avoid text selection when moving a table object in MSIE 6 --- ChangeLog | 4 ++++ pmd/scripts/move.js | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7b4771ad2..bbac4340d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $HeadURL$ +2007-01-04 Marc Delisle + * pmd/scripts/move.js: avoid text selection when moving a table object + under MSIE 6, thanks to Ivan Kirillov + 2007-01-02 Marc Delisle * Designer: various fixes and improvements (for example support for MSIE 6), thanks to Ivan Kirillov diff --git a/pmd/scripts/move.js b/pmd/scripts/move.js index dac2ee705..7a430e62a 100644 --- a/pmd/scripts/move.js +++ b/pmd/scripts/move.js @@ -39,7 +39,10 @@ isIE = document.all && !window.opera; isNN = !document.all && document.getElementById; isN4 = document.layers; -if(isIE) window.onscroll = General_scroll; +if (isIE) { + window.onscroll = General_scroll; + document.onselectstart = function () {return false;}; +} //document.onmouseup = function(){General_scroll_end();} function MouseDown(e)