Grammalecte  Check-in [7636860335]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[fx] endTimer when worker restarted
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256:76368603358bb13a63def4d18175ee00ac7d1305c68dfb44d480f233c3af2433
User & Date: olr 2019-08-10 12:04:43
Context
2019-08-10
12:35
[fr] fix regex check-in: ea1eaff896 user: olr tags: fr, trunk
12:04
[fx] endTimer when worker restarted check-in: 7636860335 user: olr tags: fx, trunk
12:04
[fr] test check-in: 86842cf539 user: olr tags: fr, trunk
Changes

Changes to gc_lang/fr/webext/content_scripts/init.js.

   329    329               } else {
   330    330                   oGrammalecte.oGCPanel.displayConj(result.oConjTable);
   331    331               }
   332    332               break;
   333    333           case "workerRestarted":
   334    334               oGrammalecte.oGCPanel.stopWaitIcon();
   335    335               oGrammalecte.oGCPanel.showMessage("Le serveur grammatical a été arrêté et relancé.");
          336  +            oGrammalecte.oGCPanel.endTimer();
   336    337               break;
   337    338           /*
   338    339               Commands received from the context menu
   339    340               (Context menu are initialized in background)
   340    341           */
   341    342           // Grammar checker commands
   342    343           case "grammar_checker_editable":

Changes to gc_lang/fr/webext/content_scripts/panel.js.

   253    253   
   254    254       showMessage (sMessage, sActionMessage="", sActionName="") {
   255    255           this.xPanelMessageBlock.style.display = "block";
   256    256           this.xPanelMessage.textContent = sMessage;
   257    257           if (sActionMessage) {
   258    258               this.xPanelMessageActionButton.textContent = sActionMessage;
   259    259               this.xPanelMessageActionButton.style.display = "block";
   260         -            this.xPanelMessageActionButton.onclick = () => { this.executeButtonAction(sActionName); };
          260  +            this.xPanelMessageActionButton.onclick = () => {
          261  +                this.executeButtonAction(sActionName);
          262  +            };
   261    263           } else {
   262    264               this.xPanelMessageActionButton.style.display = "none";
   263    265           }
   264    266       }
   265    267   
   266    268       hideMessage () {
   267    269           this.xPanelMessageBlock.style.display = "none";