Sha256: 68bd0a7247ddc87ab012cdf5efe46efbb747b5c064482cf37d352f13c3a665b1
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
<% @PAGE_TITLE = "Drop Test" %> <div class="row-fluid"> <div class="span4"> <h3>Selected Assets:</h3> <div id="my_assets" style=""> <p><i>Drop assets here to add them to your story</i></p> </div> </div> <div class="span8"> <div class="row"> <div class="pull-right" id="search_box"> </div> </div> <div id="asset_browser" class="assetbox"></div> <br class="clear"/> </div> </div> <script type="text/javascript"> var browser = new AssetHost.BrowserUI({ assets: <%= @assets.to_json.html_safe %>, page: <%= @assets.current_page %>, total: <%= @assets.total_count %>, modalSelect: true, modalAdmin: true }); chooser = new AssetHost.ChooserUI({ browser: browser }); window.opener.postMessage("LOADED","*"); $(window).bind("message", function (evt) { evt = evt.originalEvent chooser.selectAssets(evt.data) chooser.bind('saveAndClose',function(json) { evt.source.postMessage(json,evt.origin); window.close(); }); }); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asset_host_core-2.0.0.beta | app/views/asset_host_core/admin/home/chooser.html.erb |