Sha256: 54484e1ca4a4171d3702a9803f042b6d2543a39adbfb99c95e539c8e7e7abdeb

Contents?: true

Size: 243 Bytes

Versions: 30

Compression:

Stored size: 243 Bytes

Contents

var editor = $(".wysihtml5-container[data-object-id=<%= params[:object_id] %>]").data('wysihtml5');
editor.focus();
editor.composer.commands.exec("createLink", { href: "<%= params[:link] %>", target: "_self" });
editor.focus();
$.hideModal();

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
spina-0.11.1 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.11.0 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.10.0 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.9.0 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.8.3 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.8.2 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.8.1 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.8.0 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.7.3 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.7.2 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.7.0 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.29 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.28 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.27 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.26 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.25 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.24 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.23 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.22 app/views/spina/admin/page_parts/insert_wysihtml5_link.js
spina-0.6.21 app/views/spina/admin/page_parts/insert_wysihtml5_link.js