Sha256: 87cae9e025c391ba7cdea451758c2f75be021f9f49ca47b13f17abb3b43ce16b

Contents?: true

Size: 381 Bytes

Versions: 8

Compression:

Stored size: 381 Bytes

Contents

(new function() {
    alert('Ошибка загрузки!\n\n<%= @errors.join('\n') %>');
    var $c = $('#<%= params[:container] %>');
    if ($c.find('.img-polaroid').hasClass('init-placeholder')) {
        $c.find('[data-image-placeholder]').show();
    } else {
        $c.find('[data-image-preview]').show();
    }
    $c.find('.ajax-loader').removeClass('visible');
})();

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coalla-cms-0.4.2.0 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.7.0.0 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.5.2.4 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.6.1.1 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.6.0.9 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.4.4.3 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.5.1.9 app/views/admin/common/upload_failed.js.erb
coalla-cms-0.5.1.8 app/views/admin/common/upload_failed.js.erb