function updateGiftElement(uid) {
        giftStorage = uid;
        privateList = "";
        sessionStorage.setItem("privateList", JSON.stringify(privateList));
        sessionStorage.setItem("giftStorage", JSON.stringify(giftStorage));
        navigation(5);
    }
//This redirects the user to the giftAddUpdate page to update a specific gift.
This redirects the user to the giftAddUpdate page to update a specific gift.
This redirects the user to the giftAddUpdate page to update a specific gift .
function updateGiftElement(uid) {
        giftStorage = uid;
        privateList = "";
        sessionStorage.setItem("privateList", JSON.stringify(privateList));
        sessionStorage.setItem("giftStorage", JSON.stringify(giftStorage));
        navigation(5);
    }
function updateGiftElement ( uid ) { giftStorage = uid ; privateList = "" ; sessionStorage . setItem ( "privateList" , JSON . stringify ( privateList ) ) ; sessionStorage . setItem ( "giftStorage" , JSON . stringify ( giftStorage ) ) ; navigation ( 5 ) ; }
This redirects the user to the giftAddUpdate page to update a specific gift.
This redirects the user to the giftAddUpdate page to update a specific gift .