[LON-CAPA-cvs] cvs: loncom /html/htmlarea htmlarea.js doc/loncapafiles loncapafiles.lpml
www
lon-capa-cvs@mail.lon-capa.org
Wed, 02 Jun 2004 00:55:17 -0000
www Tue Jun 1 20:55:17 2004 EDT
Modified files:
/doc/loncapafiles loncapafiles.lpml
/loncom/html/htmlarea htmlarea.js
Log:
Graceful downgrading - no whining if browser incompatible
New files from RC1
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.356 doc/loncapafiles/loncapafiles.lpml:1.357
--- doc/loncapafiles/loncapafiles.lpml:1.356 Tue Jun 1 10:40:59 2004
+++ doc/loncapafiles/loncapafiles.lpml Tue Jun 1 20:55:16 2004
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.356 2004/06/01 14:40:59 albertel Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.357 2004/06/02 00:55:16 www Exp $ -->
<!--
@@ -1134,6 +1134,8 @@
nb.js;
pt_br.js;
se.js;
+he.js;
+hu.js;
</filenames>
</fileglob>
<fileglob>
@@ -1169,6 +1171,9 @@
Files belonging to HTMLArea.
</description>
<filenames>
+ed_left_to_right.gif;
+ed_right_to_left.gif;
+ed_save.gif;
ed_delete.gif;
ed_link.gif;
ed_about.gif;
Index: loncom/html/htmlarea/htmlarea.js
diff -u loncom/html/htmlarea/htmlarea.js:1.3 loncom/html/htmlarea/htmlarea.js:1.4
--- loncom/html/htmlarea/htmlarea.js:1.3 Tue Jun 1 19:46:10 2004
+++ loncom/html/htmlarea/htmlarea.js Tue Jun 1 20:55:16 2004
@@ -9,7 +9,7 @@
// Version 3.0 developed by Mihai Bazon.
// http://dynarch.com/mishoo
//
-// $Id: htmlarea.js,v 1.3 2004/06/01 23:46:10 www Exp $
+// $Id: htmlarea.js,v 1.4 2004/06/02 00:55:16 www Exp $
if (typeof _editor_url == "string") {
// Leave exactly one backslash at the end of _editor_url
@@ -1816,13 +1816,13 @@
HTMLArea.checkSupportedBrowser = function() {
if (HTMLArea.is_gecko) {
if (navigator.productSub < 20021201) {
- alert("You need at least Mozilla-1.3 Alpha.\n" +
- "Sorry, your Gecko is not supported.");
+ window.status="WYSIWYG Editor: You need at least Mozilla-1.3 Alpha. " +
+ "Sorry, your Gecko is not supported.";
return false;
}
if (navigator.productSub < 20030210) {
- alert("Mozilla < 1.3 Beta is not supported!\n" +
- "I'll try, though, but it might not work.");
+ window.status="WYSIWYG Editor: Mozilla < 1.3 Beta is not supported! " +
+ "I'll try, though, but it might not work.";
}
}
return HTMLArea.is_gecko || HTMLArea.is_ie;