Ignore:
Timestamp:
04/12/08 13:46:09 (12 years ago)
Author:
ray
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ContextMenu/context-menu.js

    r987 r988  
    2626}; 
    2727 
     28Xinha.Config.prototype.ContextMenu = { 
     29        disableMozillaSpellCheck : false 
     30} 
     31 
    2832ContextMenu.prototype.onGenerate = function() { 
    2933        var self = this; 
     
    3438                            }); 
    3539        this.currentMenu = null; 
    36         this.editordoc.body.spellcheck = false; // Firefox spellchecking is quite confusing for the user when they don't get the browser context menu 
     40         
     41        if (this.editor.config.ContextMenu.disableMozillaSpellCheck) { 
     42                this.editordoc.body.spellcheck = false; // Firefox spellchecking is quite confusing for the user when they don't get the browser context menu 
     43        } 
    3744}; 
    3845 
Note: See TracChangeset for help on using the changeset viewer.