Permalink
Browse files

Updated forge_assets plugin

  • Loading branch information...
SeanRoberts committed Feb 7, 2012
1 parent d69273e commit adc7a34176438b4e015037ebfe88a6ff358f49c5
@@ -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') %>'
});
}
});

0 comments on commit adc7a34

Please sign in to comment.