Sha256: 680ff81908e091e055affb27f251d9335bee5a56c92dac3d740b3a1dca63020f

Contents?: true

Size: 530 Bytes

Versions: 33

Compression:

Stored size: 530 Bytes

Contents

jQuery.fn.dataTableExt.oApi.fnFilterOnReturn = function (oSettings) {
    var _that = this;

    this.each(function (i) {
        $.fn.dataTableExt.iApiIndex = i;
        var $this = this;
        var anControl = $('input', _that.fnSettings().aanFeatures.f);
        anControl.unbind('keyup').bind('keypress', function (e) {
            if (e.which == 13) {
                $.fn.dataTableExt.iApiIndex = i;
                _that.fnFilter(anControl.val());
            }
        });
        return this;
    });
    return this;
};

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
jquery-datatables-rails-2.2.0 app/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-2.1.10.0.3 app/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-2.1.10.0.2 app/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-2.1.10.0.0 app/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-1.12.2 app/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-1.11.3 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
datatables-rails-bs3-0.0.6 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
datatables-rails-bs3-0.0.5 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
datatables-rails-bs3-0.0.4 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
datatables-rails-bs3-0.0.2 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
datatables-rails-bs3-0.0.1 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-1.11.2 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js
jquery-datatables-rails-1.11.1 vendor/assets/javascripts/dataTables/jquery.dataTables.api.fnFilterOnReturn.js