Sha256: 1a0aa2f41c21854a741926d7aad9dbf8427fb10f86fab7ed1e3e6532e8a6d4f7

Contents?: true

Size: 311 Bytes

Versions: 26

Compression:

Stored size: 311 Bytes

Contents

var action_link_close = ActiveScaffold.ActionLink.Abstract.prototype.close;
ActiveScaffold.ActionLink.Abstract.prototype.close = function() {
  this.adapter.select('textarea.mceEditor').each(function(elem) {
    tinyMCE.execCommand('mceRemoveEditor', false, elem.id);
  }); 
  action_link_close.apply(this);
};

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
active_scaffold-3.4.43 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.42 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.41.1 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.41 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.40 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.39 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.38 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.37 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.36 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.35 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.34 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.33 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.32 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.31 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.30 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.29 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.28 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.27 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.26 app/assets/javascripts/prototype/tiny_mce_bridge.js
active_scaffold-3.4.25 app/assets/javascripts/prototype/tiny_mce_bridge.js