[Mapbender-commits] r6696 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Aug 5 06:27:26 EDT 2010


Author: christoph
Date: 2010-08-05 10:27:26 +0000 (Thu, 05 Aug 2010)
New Revision: 6696

Modified:
   trunk/mapbender/lib/alert.js
Log:
added a workaround for dialogs with insufficient height in IE (only in comments)

Modified: trunk/mapbender/lib/alert.js
===================================================================
--- trunk/mapbender/lib/alert.js	2010-08-05 10:26:11 UTC (rev 6695)
+++ trunk/mapbender/lib/alert.js	2010-08-05 10:27:26 UTC (rev 6696)
@@ -1,3 +1,10 @@
 window.alert = function (str) {
-	$("<div></div>").text(str).dialog();
+	$("<div title='Hinweis'></div>").text(str).dialog({
+// Workaround if dialogs have insufficient height in IE
+//		open: function(){
+//			$(this).css({
+//				"height": "200px"
+//			});
+//		}
+	});
 };
\ No newline at end of file



More information about the Mapbender_commits mailing list