Revision: 9477
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9477&view=rev
Author:   dnaber
Date:     2013-02-23 22:49:57 +0000 (Sat, 23 Feb 2013)
Log Message:
-----------
fix error message

Modified Paths:
--------------
    trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js
    
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js
===================================================================
--- 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-02-23 22:10:09 UTC (rev 9476)
+++ 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-02-23 22:49:57 UTC (rev 9477)
@@ -761,9 +761,9 @@
             type:  "POST",
             data:  "text=" + encodeURI(data).replace(/&/g, '%26') + 
"&language=" + encodeURI(languageCode),
             success: success,
-            error: function(type, req, o) {
+            error: function(jqXHR, textStatus, errorThrown) {
                plugin.editor.setProgressState(0);
-               alert("Could not send request to\n" + o.url + "\nError: " + 
type + "\nStatus code: " + req.status + "\nPlease make sure your network 
connection works."); 
+               alert("Could not send request to\n" + url + "\nError: " + 
textStatus + "\n" + errorThrown + "\nPlease make sure your network connection 
works."); 
             }
          });
    

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
===================================================================
--- 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
    2013-02-23 22:10:09 UTC (rev 9476)
+++ 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
    2013-02-23 22:49:57 UTC (rev 9477)
@@ -441,9 +441,9 @@
             type:  "POST",
             data:  "text=" + encodeURI(data).replace(/&/g, '%26') + 
"&language=" + encodeURI(languageCode),
             success: success,
-            error: function(type, req, o) {
+            error: function(jqXHR, textStatus, errorThrown) {
                plugin.editor.setProgressState(0);
-               alert("Could not send request to\n" + o.url + "\nError: " + 
type + "\nStatus code: " + req.status + "\nPlease make sure your network 
connection works."); 
+               alert("Could not send request to\n" + url + "\nError: " + 
textStatus + "\n" + errorThrown + "\nPlease make sure your network connection 
works."); 
             }
          });
    

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to