[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm

foxr foxr at source.lon-capa.org
Mon Sep 24 06:47:26 EDT 2012


foxr		Mon Sep 24 10:47:26 2012 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  BZ 838 Internationalization. added.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.323 loncom/interface/lonhtmlcommon.pm:1.324
--- loncom/interface/lonhtmlcommon.pm:1.323	Mon Sep 10 10:49:27 2012
+++ loncom/interface/lonhtmlcommon.pm	Mon Sep 24 10:47:26 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.323 2012/09/10 10:49:27 foxr Exp $
+# $Id: lonhtmlcommon.pm,v 1.324 2012/09/24 10:47:26 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1425,6 +1425,11 @@
 
 			});
 
+    function doSpellcheck(element, lang) {
+	\$(element).spellchecker('option', {lang: lang});
+	\$(element).spellchecker('check');
+    }
+
 
 JAVASCRIPT
     if ($dragmath_prefix ne '') {




More information about the LON-CAPA-cvs mailing list