Changeset 149 for trunk/plugins


Ignore:
Timestamp:
05/11/05 08:19:21 (14 years ago)
Author:
niko
Message:
  • tweaked Statusbar
    • generate textmode-message in createStatusBar and hide it (_statusBarTextMode)
    • when switching into textmode don't clear the StatusBar?, instead hide the _statusBarTree and show _statusBarTextMode
    • added onMode in CharCount?-Plugin to hide the charCounter there too (fixes bug there)
  • when displaying inline-dialogs don't clear the statusBar, instead make the dialog higher
    • changed calculation of height (the -2 is necessary for IE)
    • dialog-div now positioned absolute instaed of relative (IE would move the statusBar down else)
  • fixed bug in inline-dialog getValues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/CharCounter/char-counter.js

    r131 r149  
    3535} 
    3636 
     37CharCounter.prototype.onMode = function (mode) 
     38{ 
     39  //Hide Chars in statusbar when switching into textmode 
     40  switch (mode) 
     41  { 
     42    case "textmode": 
     43      this.charCount.style.display = "none"; 
     44      break; 
     45    case "wysiwyg": 
     46      this.charCount.style.display = ""; 
     47      break; 
     48    default: 
     49      alert("Mode <" + mode + "> not defined!"); 
     50      return false; 
     51  } 
     52} 
     53 
    3754CharCounter.prototype.onKeyPress = function(ev) { 
    3855    var cnt = this.updateCharCount(); 
Note: See TracChangeset for help on using the changeset viewer.