Changeset 5328


Ignore:
Timestamp:
10/20/09 14:24:15 (2 years ago)
Author:
PaulHarvey
Message:

Item2270: Original fix was wrong. This should now work for all browsers.

Location:
branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_tiny.js

    r5317 r5328  
    2222+"Please wait... retrieving page from server." 
    2323+"</span>");FoswikiTiny.transform(editor,"tml2html",text,function(text,req,o){for(var i=0;i<FoswikiTiny.tml2html.length;i++){var cb=FoswikiTiny.tml2html[i];text=cb.apply(this,[this,text]);} 
    24 if(this.plugins.wordcount!==undefined&&this.plugins.wordcount.blocked!==undefined){this.plugins.wordcount.blocked=0;} 
     24if(this.plugins.wordcount!==undefined&&this.plugins.wordcount.block!==undefined){this.plugins.wordcount.block=0;} 
    2525this.setContent(text);this.isNotDirty=true;FoswikiTiny.enableSaveButton(true);},function(type,req,o){this.setContent("<div class='foswikiAlert'>" 
    2626+"There was a problem retrieving " 
  • branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_tiny_src.js

    r5317 r5328  
    245245                   document. So remove lock before setContent() */ 
    246246                if (this.plugins.wordcount !== undefined && 
    247                   this.plugins.wordcount.blocked !== undefined) { 
    248                     this.plugins.wordcount.blocked = 0; 
     247                  this.plugins.wordcount.block !== undefined) { 
     248                    this.plugins.wordcount.block = 0; 
    249249                } 
    250250                this.setContent(text); 
Note: See TracChangeset for help on using the changeset viewer.