Changeset 674


Ignore:
Timestamp:
06/20/10 16:08:39 (2 years ago)
Author:
mr_lundis
Message:

Fix for #203, make containers unselectable. Thanks to Wes Winham.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wymeditor/jquery.wymeditor.explorer.js

    r667 r674  
    9999}; 
    100100 
     101(function(editorLoadSkin) { 
     102    WYMeditor.WymClassExplorer.prototype.loadSkin = function() { 
     103        // Mark container items as unselectable (#203) 
     104        // Fix for issue explained: http://stackoverflow.com/questions/1470932/ie8-iframe-designmode-loses-selection 
     105        jQuery(this._box).find(this._options.containerSelector) 
     106            .attr('unselectable', 'on'); 
     107         
     108        editorLoadSkin.call(this); 
     109    }; 
     110})(WYMeditor.editor.prototype.loadSkin); 
     111 
    101112WYMeditor.WymClassExplorer.prototype._exec = function(cmd,param) { 
    102113 
Note: See TracChangeset for help on using the changeset viewer.