Changeset 847
- Timestamp:
- 06/03/07 12:45:36 (6 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/CharCounter/char-counter.js (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/CharCounter/char-counter.js
r810 r847 1 // Charcounter for HTMLArea-3.01 // Charcounter for Xinha 2 2 // (c) Udo Schmal & L.N.Schaffrath NeueMedien 3 3 // Distributed under the same terms as HTMLArea itself. … … 12 12 } 13 13 14 HTMLArea.Config.prototype.CharCounter =14 Xinha.Config.prototype.CharCounter = 15 15 { 16 16 'showChar': true, // show the characters count, … … 33 33 34 34 CharCounter.prototype._lc = function(string) { 35 return HTMLArea._lc(string, "CharCounter");35 return Xinha._lc(string, "CharCounter"); 36 36 }; 37 37 … … 42 42 var charCount = document.createElement("span"); 43 43 charCount.style.padding = "2px 5px"; 44 if( HTMLArea.is_ie) {44 if(Xinha.is_ie) { 45 45 charCount.style.styleFloat = "right"; 46 46 } else { … … 53 53 brk.style.fontSize = '1px'; 54 54 brk.style.clear = 'both'; 55 if( HTMLArea.is_ie) {55 if(Xinha.is_ie) { 56 56 this.editor._statusBarTree.style.styleFloat = "left"; 57 57 } else { … … 69 69 var contents = this.editor.getHTML(); 70 70 if (contents.length >= this.editor.config.CharCounter.maxHTML) { 71 HTMLArea._stopEvent(ev);71 Xinha._stopEvent(ev); 72 72 return true; 73 73 }
