o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1340614562.335062: @value"{I" class:EFI"ProcessedAsset;FI"logical_path;F"rich/editor/rich_picker.jsI" pathname;F"c/Users/bastiaan/Files/Work/rich_project/rich/app/assets/javascripts/rich/editor/rich_picker.jsI"content_type;FI"application/javascript;FI" mtime;FI"2012-04-17T15:22:48+02:00;FI" length;FiãI" digest;F"%a368a0a25955bf89cf712a4ce80303a2I" source;FI"ã// Direct asset picker var rich = rich || {}; rich.AssetPicker = function(){ }; rich.AssetPicker.prototype = { showFinder: function(dom_id, options){ // open a popup var params = {}; params.CKEditor = 'picker'; // this is not CKEditor params.default_style = options.default_style; params.allowed_styles = options.allowed_styles; params.insert_many = options.insert_many; params.type = options.type || "image"; params.viewMode = options.view_mode || "grid"; params.scoped = options.scoped || false; if(params.scoped == true) { params.scope_type = options.scope_type params.scope_id = options.scope_id; } params.dom_id = dom_id; var url = addQueryString(options.richBrowserUrl, params ); window.open(url, 'filebrowser', "width=860,height=500") }, setAsset: function(dom_id, asset){ $(dom_id).val(asset); $(dom_id).siblings('img.rich-image-preview').first().attr({src: asset}); } }; // Rich Asset input var assetPicker = new rich.AssetPicker(); ;FI"dependency_digest;F"%8091cce8ba56e2d274b3f570c8d7bc87I"required_paths;F["c/Users/bastiaan/Files/Work/rich_project/rich/app/assets/javascripts/rich/editor/rich_picker.jsI"dependency_paths;F[{I" path;F"c/Users/bastiaan/Files/Work/rich_project/rich/app/assets/javascripts/rich/editor/rich_picker.jsI" mtime;FI"2012-04-17T15:22:48+02:00;FI" digest;F"%e7db1388735e054610ad26171d9eceaeI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862