nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.63k stars 532 forks source link

Unable to edit item if using Edit from form #4123

Closed manusfreedom closed 2 months ago

manusfreedom commented 3 months ago

If we use the Edit from the form, we cannot save: image This works if you use the Edit icon directly from the list:: image

There seems to be a problem with the requestRunning variable (always true when it comes from the form and correctly false when it comes from the list).

    // Manage if change is performed by user
    $('#form-item .form-item-control')
        .on('change', function() {
            if (requestRunning === false) {
                userDidAChange = true;
                if (debugJavascript === true) console.log('User did a change on #form-item > ' + userDidAChange + " - Element " + $(this).attr('id'));
                //$(this).attr('data-change-ongoing', true);
            }
manusfreedom commented 2 months ago

It works, it seems that passing a symbolic link from a folder to a real folder has broken our update process.