Code

Udapted checks if msg_dialog movement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Sep 2007 13:04:52 +0000 (13:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Sep 2007 13:04:52 +0000 (13:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7412 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js

index 75d22c4f90421943a253c6a1b91b9829e9994d43..a13ccdf524c22080df776daf1b6a6c1eaed09785 100644 (file)
@@ -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