|
From: <ma...@us...> - 2013-02-03 20:20:06
|
Revision: 1404
http://openautomation.svn.sourceforge.net/openautomation/?rev=1404&view=rev
Author: mayerch
Date: 2013-02-03 20:19:59 +0000 (Sun, 03 Feb 2013)
Log Message:
-----------
Show warning alert if the user is using Internet Explorer as a browser
(see also feature request https://sourceforge.net/tracker/?func=detail&aid=3445353&group_id=296426&atid=1251144)
Modified Paths:
--------------
CometVisu/trunk/visu/lib/compatibility.js
Modified: CometVisu/trunk/visu/lib/compatibility.js
===================================================================
--- CometVisu/trunk/visu/lib/compatibility.js 2013-02-03 19:28:51 UTC (rev 1403)
+++ CometVisu/trunk/visu/lib/compatibility.js 2013-02-03 20:19:59 UTC (rev 1404)
@@ -1,3 +1,26 @@
+/* compatability.js (c) 2013 by Christian Mayer [CometVisu at ChristianMayer dot de]
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * @module Compatability
+ * @title CometVisu helper functions for compatability issues
+ */
+if( /(msie)/i.test(navigator.userAgent.toLowerCase()) )
+{
+ alert( 'Sorry, but Internet Explorer is not supported!' );
+}
if (typeof (console) == "undefined") {
console = {};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|