Revision: 8949
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8949&view=rev
Author:   gulp21-1
Date:     2013-01-11 18:05:00 +0000 (Fri, 11 Jan 2013)
Log Message:
-----------
[extension] prevent error console from showing a "ReferenceError"
            correctly recognize speller rules
            some todos

Modified Paths:
--------------
    trunk/extension/firefox/TODO
    trunk/extension/firefox/data/panel.js
    trunk/extension/firefox/lib/main.js
    trunk/extension/firefox/package.json

Modified: trunk/extension/firefox/TODO
===================================================================
--- trunk/extension/firefox/TODO        2013-01-11 10:58:44 UTC (rev 8948)
+++ trunk/extension/firefox/TODO        2013-01-11 18:05:00 UTC (rev 8949)
@@ -17,3 +17,8 @@
 - checking text in text fields which are in an iframe cannot be checked without
   selecting the text (e.g. lt forum)
 
+- add context menu item
+
+- possibility to (de)activate rules
+
+- translate the langauge name shown in the popup

Modified: trunk/extension/firefox/data/panel.js
===================================================================
--- trunk/extension/firefox/data/panel.js       2013-01-11 10:58:44 UTC (rev 
8948)
+++ trunk/extension/firefox/data/panel.js       2013-01-11 18:05:00 UTC (rev 
8949)
@@ -22,9 +22,9 @@
        'click',
        function(event) {
                var t=event.target;
+               event.stopPropagation();
+               event.preventDefault();
                if(t.nodeName=="A" && t.toString().indexOf("javascript:")!=0) {
-                       event.stopPropagation();
-                       event.preventDefault();
                        self.port.emit('linkClicked', t.toString());
                } else if(t.toString().indexOf("javascript:unhide()")==0) {
                        unhide(); // WORKAROUND don't know why fx says 
"ReferenceError: unhide is not defined"

Modified: trunk/extension/firefox/lib/main.js
===================================================================
--- trunk/extension/firefox/lib/main.js 2013-01-11 10:58:44 UTC (rev 8948)
+++ trunk/extension/firefox/lib/main.js 2013-01-11 18:05:00 UTC (rev 8949)
@@ -145,7 +145,7 @@
                panel.port.emit("setText", PLEASEWAITWHILECHECKING);
        },
        width: 330,
-        heigth: 250
+       heigth: 250
 });
 
 panel.port.emit("setText", PLEASEWAITWHILECHECKING);

Modified: trunk/extension/firefox/package.json
===================================================================
--- trunk/extension/firefox/package.json        2013-01-11 10:58:44 UTC (rev 
8948)
+++ trunk/extension/firefox/package.json        2013-01-11 18:05:00 UTC (rev 
8949)
@@ -3,7 +3,7 @@
        "license": "GPL 3.0", 
        "author": "Markus Brenneis", 
        "contributors": ["The LanguageTool Developers"], 
-       "version": "0.1", 
+       "version": "0.2pre", 
        "fullName": "LanguageToolFx", 
        "id": "jid1-j3KiX1n7UXrjxQ", 
        "description": "LanguageTool for Firefox",

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


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Languagetool-commits mailing list
Languagetool-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to