Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated forge_assets plugin

  • Loading branch information...
commit adc7a34176438b4e015037ebfe88a6ff358f49c5 1 parent d69273e
@SeanRoberts SeanRoberts authored
View
4 ...s/ckeditor/plugins/forge_assets/plugin.js → ...editor/plugins/forge_assets/plugin.js.erb
@@ -3,8 +3,8 @@ CKEDITOR.plugins.add('forge_assets', {
var pluginName = 'forge_assets';
editor.ui.addButton('ForgeAssets', {
label: 'Add Images or Documents',
- click: function() { $asset_drawer.load(editor); },
- icon: '/javascripts/ckeditor/images/image_new.gif'
+ click: function() { FORGE.assetDrawer.load(editor); },
+ icon: '<%= asset_path('image_new.gif') %>'
});
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.