Author: igorz
Date: 2007-07-04 07:42:16 -0400 (Wed, 04 Jul 2007)
New Revision: 81328
Modified:
trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
Log:
doesn't consider CompilationSection for TARGET_J2EE
Modified: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
===================================================================
--- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
2007-07-04 11:38:14 UTC (rev 81327)
+++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
2007-07-04 11:42:16 UTC (rev 81328)
@@ -215,11 +215,11 @@
get {
if (IsDeploymentRetail)
return false;
-
+#if !TARGET_J2EE
CompilationSection compilation =
(CompilationSection) WebConfigurationManager.GetSection
("system.web/compilation");
if (!compilation.Debug && (ScriptMode ==
ScriptMode.Auto || ScriptMode == ScriptMode.Inherit))
return false;
-
+#endif
if (ScriptMode == ScriptMode.Release)
return false;
@@ -273,6 +273,9 @@
}
[Category ("Behavior")]
+#if TARGET_J2EE
+ [MonoLimitation ("The 'Auto' value is the same as 'Debug'.")]
+#endif
public ScriptMode ScriptMode {
get {
return _scriptMode;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches