Changeset 429


Ignore:
Timestamp:
09/01/07 22:56:46 (5 years ago)
Author:
bermi
Message:

Updating old version of WYM Safari for making it work in newer Safari versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_parser/wymeditor/jquery.wymeditor.safari.js

    r329 r429  
    104104WymClassSafari.prototype._exec = function(cmd,param) { 
    105105  param = param || null; 
    106   if($j.browser.version >= 522 || typeof this[cmd] == 'undefined'){ 
     106  if(true || $j.browser.version >= 10000 || typeof this[cmd] == 'undefined'){ 
    107107    this._doc.execCommand(cmd,false,param); 
    108108  }else{ 
     
    219219 
    220220WymClassSafari.prototype.removeSafarihacks = function(raw_html){ 
    221   if($j.browser.version < 522){ 
     221  if(true || $j.browser.version < 10000){ 
    222222    raw_html = raw_html.replace(this.hackChar,''); 
    223223  } 
     
    305305WymClassSafari.prototype.handleEnter = function(evt){ 
    306306  var selected = this.selected(); 
    307   if($j.browser.version < 522){     
     307  if(true || $j.browser.version < 10000){     
    308308     
    309309    if(evt.shiftKey){ 
     
    323323WymClassSafari.prototype.handleBackspace = function(){ 
    324324  var selected = this.selected(); 
    325   if($j.browser.version < 522){ 
     325  if(true || $j.browser.version < 10000){ 
    326326    if(selected.tagName == 'P' && selected.innerHTML == ''){ 
    327327      // Todo: move caret to the end of previous sibling 
Note: See TracChangeset for help on using the changeset viewer.