vendor/assets/javascripts/wysihtml/table_editing.js in wysihtml-rails-0.6.0.beta vs vendor/assets/javascripts/wysihtml/table_editing.js in wysihtml-rails-0.6.0.beta2

- old
+ new

@@ -1018,26 +1018,26 @@ this.doc.execCommand('enableObjectResizing', false, 'false'); this.doc.execCommand('enableInlineTableEditing', false, 'false'); }.bind(this), iframeInitiator = (function() { hideHandlers.call(this); - actions.removeListeners(this.sandbox.getIframe(), ['focus', 'mouseup', 'mouseover'], iframeInitiator); + this.actions.removeListeners(this.sandbox.getIframe(), ['focus', 'mouseup', 'mouseover'], iframeInitiator); }).bind(this); if ( this.doc.execCommand && wysihtml.browser.supportsCommand(this.doc, 'enableObjectResizing') && wysihtml.browser.supportsCommand(this.doc, 'enableInlineTableEditing') ) { if (this.sandbox.getIframe) { - actions.addListeners(this.sandbox.getIframe(), ['focus', 'mouseup', 'mouseover'], iframeInitiator); + this.actions.addListeners(this.sandbox.getIframe(), ['focus', 'mouseup', 'mouseover'], iframeInitiator); } else { this.win.addEventListener('load', hideHandlers); } } this.tableSelection = wysihtml.quirks.tableCellsSelection(this.element, this.parent); }; - + // Cell selections handling var tableCellsSelection = function(editable, editor) { var init = function() { editable.addEventListener('mousedown', handleMouseDown);