Sha256: e8d4835d8e772b393999517d0ff5f5e41cc2db68d7c708730239e1636ba90190

Contents?: true

Size: 532 Bytes

Versions: 3

Compression:

Stored size: 532 Bytes

Contents

var $cc = $("#cart_form_container");
var html_str = "<%= j render_cart_order_form %>";

setTimeout(function () {
    $('#loading').addClass('invis');
    setTimeout(function () {
        $cc.html(html_str);

        // перед показом можно переопределить надпись на кнопке
        /*if ($cc.data('button-label') != undefined) {
            $cc.find('[type=submit]').attr('value', $cc.data('button-label'));
        }*/

        aCartPage.print_table_to_comment();

    },500);
},1000);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
c80_yax-0.1.0.22 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb
c80_yax-0.1.0.21 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb
c80_yax-0.1.0.20 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb