From 7dc416a3b6561a8b6b4d8098a31e2acea5481422 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 Sep 2007 13:04:52 +0000 Subject: [PATCH] Udapted checks if msg_dialog movement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7412 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/include/focus.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/include/focus.js b/html/include/focus.js index 75d22c4f9..a13ccdf52 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -580,7 +580,9 @@ function move_div_by_cursor(e) var cur_id = 0; var dialog = null; - if(enable_move_div_by_cursor){ + + if(undefined !== enable_move_div_by_cursor && enable_move_div_by_cursor == true){ + if(document.getElementById('current_msg_dialogs')){ /* Get mouse position on screen -- 2.30.2