Sha256: 07ec09707cbffd4814a406cd19b02e7bd54520b993bd691698ee2c455cf09031

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 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();

        $cc.find('input#mess_phone').mask('+9(999)999-99-99');

    },500);
},1000);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb
c80_yax-0.1.0.24 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb
c80_yax-0.1.0.23 engines/co/app/views/co/cart/give_me_cart_order_form.js.erb