[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r150585 - trunk/release/website/moonlight-unstable
From:       "Chris Toshok" <mono-patches-list () lists ! ximian ! com>
Date:       2010-01-30 1:05:00
Message-ID: 20100130010500.698319472C () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: toshok
Date: 2010-01-29 20:05:00 -0500 (Fri, 29 Jan 2010)
New Revision: 150585

Modified:
   trunk/release/website/moonlight-unstable/Default.aspx.in
Log:
check against the SL runtime version since that's what we use now for our version \
(this is not sustainable...)

Modified: trunk/release/website/moonlight-unstable/Default.aspx.in
===================================================================
--- trunk/release/website/moonlight-unstable/Default.aspx.in	2010-01-30 00:47:08 UTC \
                (rev 150584)
+++ trunk/release/website/moonlight-unstable/Default.aspx.in	2010-01-30 01:05:00 UTC \
(rev 150585) @@ -27,6 +27,7 @@
 <script type="text/javascript">
 
 var released_version = "@@VERSION@@";
+var silverlight_runtime_version = "3.0.40818.0";
 
 var plugin = navigator.plugins["Silverlight Plug-In"];
 if (plugin.filename.indexOf("libmoonloader") == 0) {
@@ -49,7 +50,7 @@
 
     var moonlight_version = control.settings.version;
 
-    if (moonlight_version == released_version) {
+    if (moonlight_version == silverlight_runtime_version) {
       message.text = "Congratulations, you're running the current preview release of \
moonlight!";  }
     else if ((moonlight_version == "2.0")) {

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic