Sha256: e8c083e90a50e95063d98c293329530854b9ee46f5852f9a432a4650a692c965

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

<% @PAGE_TITLE = "Asset Management" %>

<div class='assetbox' id='asset_browser'></div>

<script type="text/javascript">
    var browser = new AssetHost.BrowserUI({
        root_path: "<%= assethost.a_assets_path %>",
        assets:<%= @assets.to_json.html_safe %>,
        page: <%= @assets.current_page %>,
        total: <%= @assets.total_count %>,
        query: <%= @query.to_json.html_safe %>,
        modalSelect: true,
        modalAdmin: false
    });

    browser.assets.bind('selected',function (a) {
        window.location = "<%= assethost.a_assets_path %>/"+a.get("id")
    });
</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/assets/index.html.erb