manso

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: Input type password #83596
    manso
    Participant
    in reply to: Please add “password” support for colModel.edittype #83595
    manso
    Participant

    file grid.formedit.js (grid.formedit-min.js)

    insert line 244:
    case “password”:
    postdata[this.name] = $(this).val();
    ret = checkValues($(this).val(),valref);
    if(ret[0]==false) suc=false;
    break;

    insert line 317:
    case “password”:
    if(this.name =='id') $(this).val(“_empty”);
    else $(this).val(“”);
    break;

    insert line 453:
    case “password”:
    $(“#”+nm,”#”+frmtb).val(tmp);
    break;

    insert line 515:
    case “password” :
    elem = document.createElement(“input”);
    elem.type = “password”;
    elem.value = vl;
    $(elem).attr(options);
    break;

    file grid.inlinedit.js (grid.inlinedit-min.js)

    insert line 105:
    case “password” :
    elem = document.createElement(“input”);
    elem.type = “password”;
    if (!options.size) options.size = vl.length;
    $(elem).attr(options);
    elem.value = vl;
    break;

    insert line 161:
    case “password”:
    tmp2 = $(“input, textarea”, this).val();
    break;

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

Stay connected with us in your favorite flavor!