Sha256: 7a775a7a479780cd82f1b858feb04c454c21671ead772a9377ce4b065ae88aa7

Contents?: true

Size: 373 Bytes

Versions: 16

Compression:

Stored size: 373 Bytes

Contents

(function($) {

  $('#<%= content_dom_id(@content) %>').replaceWith('<%= escape_javascript(render(:partial => "alchemy/essences/essence_file_editor", :formats => [:html], :locals => {:content => @content, :options => @options})) %>');
  Alchemy.closeCurrentWindow();
  Alchemy.reloadPreview();
  Alchemy.setElementDirty('#element_<%= @content.element.id %>');

})(jQuery);

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-2.2.4 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/essence_files/assign.js.erb
alchemy_cms-2.2.rc1 app/views/alchemy/admin/essence_files/assign.js.erb