Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
affiliation-assessor-app
Commits
25850305
Commit
25850305
authored
1 year ago
by
devendra
Browse files
Options
Download
Patches
Plain Diff
Fix: attachment url vvisible even after deleting it
parent
90fcf39d
revert-275-one_form_poc
gitpod
gitpod-uat
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/enketo-express/public/js/src/module/controller-webform.js
+2
-0
...enketo-express/public/js/src/module/controller-webform.js
with
2 additions
and
0 deletions
+2
-0
packages/enketo-express/public/js/src/module/controller-webform.js
+
2
−
0
View file @
25850305
...
...
@@ -817,11 +817,13 @@ function _setEventHandlers(survey) {
await
formController
.
broadcastFormDataUpdate
(
form
.
getDataStr
(),
arrayOfFileURLsNew
);
}
}
await
formController
.
broadcastFormDataUpdate
(
form
.
getDataStr
(),
olderFiles
);
}
}
}
}
else
if
(
olderFiles
)
{
localStorage
.
setItem
(
keyToStorage
,
JSON
.
stringify
(
olderFiles
));
await
formController
.
broadcastFormDataUpdate
(
form
.
getDataStr
(),
olderFiles
);
}
// Broadcast File Remove
// const arrayOfFileURLsNew = { ...olderFiles, ...arrayOfFileURLs };
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets