Sha256: 89a4b5fb6c0ff305e9301668a7f6e247cbdfed36ab98c2fe2f14131876ea4b7d

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 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'));
        }

    },500);
},1000);

Version data entries

2 entries across 2 versions & 1 rubygems

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