Skip to content

Vendor button.js problem #1049

@halilcosdu

Description

@halilcosdu

button.js

var _buildUrl = function (dt, action) {
var url = dt.ajax.url() || '';
var params = dt.ajax.params();
params.action = action;

    if (url.indexOf("?")) {
        return url + '&' + $.param(params);
    }

    return url + '?' + $.param(params);
};

Not working

Maybe ?

if (url.indexOf("?")>-1) {
return url + '&' + $.param(params);
}

  • Operating System Nginx
  • PHP Version 7
  • Laravel Version 5.4
  • Laravel-Datatables Version 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions