Sha256: 4068d2e75a20a85a55612c5e126c8078d5f63ec63e18a713c5d65801451ce023

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

var $cc = $("#ff");
var html_str = "<%= j render_feedback_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'));
        }

        if (typeof call_after_give_me_form !== 'undefined') {
            call_after_give_me_form();
        }

    },500);
},1000);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_feedback_form-0.1.0.8 app/views/c80_feedback_form/site/give_me_form.js.erb