diff --git a/app/views/editor/rich.html.erb b/app/views/editor/rich.html.erb index 119dd379ae..de091cda7c 100644 --- a/app/views/editor/rich.html.erb +++ b/app/views/editor/rich.html.erb @@ -310,6 +310,8 @@ } }, + mapModule: true, + mainImageModule: { uid: <%= current_user.id %><% if @node && @node.id %>, nid: <%= @node.id %><% end %>, @@ -363,6 +365,7 @@ } } }); + })(); $('.legacy-button').click(function onLegacyClick(event) { diff --git a/app/views/editor/wikiRich.html.erb b/app/views/editor/wikiRich.html.erb index d68ec19d88..ba3a8d090c 100644 --- a/app/views/editor/wikiRich.html.erb +++ b/app/views/editor/wikiRich.html.erb @@ -96,36 +96,6 @@ - - - - -