jQuery UI Widgets Forums Plugins Data Adapter Splice function not working (bug?)

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Splice function not working (bug?) #97478

    ElSenorEd
    Participant

    I’ve had to change this in the splice function. The defineIndexProperty was not using I. Very easy to reproduce.

    splice was called like this:
    observableArray.splice(1, 0, jsonData[5]);

    I.splice = function(Q, R, M)

    Jqxdata.js Line 404
    for (var N = 2, S = arguments.length; N < S; N++) {
    K.splice(Q, 0, arguments[N]);
    /* defineIndexProperty(K.length-1); */
    I.defineIndexProperty(K.length – 1);
    if (typeof H === “function”) {

    Splice function not working (bug?) #97479

    Peter Stoev
    Keymaster

    Hi ElSenorEd,

    The splice’s third param is function i.e the param you passed is incorrect.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.