From 7e85a8bdc2abb72613addab93764691634af79ec Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Wed, 21 Aug 2013 15:27:45 +0200
Subject: [PATCH] OO-531: fix an javascript error with IE8 and the resize of
 the 3 columns layout

---
 .../org/olat/core/commons/fullWebApp/_content/main_3cols.html   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/olat/core/commons/fullWebApp/_content/main_3cols.html b/src/main/java/org/olat/core/commons/fullWebApp/_content/main_3cols.html
index f8bf3de6426..870c1453e6b 100644
--- a/src/main/java/org/olat/core/commons/fullWebApp/_content/main_3cols.html
+++ b/src/main/java/org/olat/core/commons/fullWebApp/_content/main_3cols.html
@@ -53,6 +53,7 @@ jQuery().ready(function() {
 	}).bind( "resize", resize_right);
 
 	function resize_right(event, ui) {
+		if(ui == null) return;
 	    var width = ui.size.width;
 	    var leftWidth = jQuery("#b_col2").width();
         var contWidth = jQuery('#b_main').width() - leftWidth;
@@ -76,6 +77,7 @@ jQuery().ready(function() {
 	}).bind( "resize", resize_left);
 
 	function resize_left(event, ui) {
+			if(ui == null) return;
 	    var width = ui.size.width;
 	    var rightWidth = jQuery("#b_col1").width();
         var contWidth = jQuery('#b_main').width() - rightWidth;
-- 
GitLab