Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 156 of 807  Not logged in ELOG logo
    icon2.gif   Re: Drop attachments here..., posted by Sebastian Schenk on Tue Jun 29 20:13:36 2021 
I could figure out the bug. A fix can be found in this commit.
https://bitbucket.org/merrx/elog/commits/c3e3c4af9666006558aaf26d8f4841800e69f9af




Sebastian
    icon2.gif   Re: Drop attachments here..., posted by Stefan Ritt on Tue Jun 29 20:20:38 2021 
Looks good, I merged the pull request.
    icon2.gif   Re: Drop attachments here..., posted by Xuan Wu on Wed Jun 30 04:38:21 2021 
Excellent, Thanks!




Sebastian
Schenk wrote:



I could figure out the bug. A fix can be found in this commit.
    icon2.gif   Re: Drop attachments here..., posted by Sebastian Schenk on Wed Jun 30 13:50:08 2021 
Thanks for the merge.
I found a more general solution, as there could be the posibility to have the author as "select" or "radio box" input in the
form, where the fix breaks.
icon1.gif   Disable Delete option when user has the capability to Edit an entry, posted by John Becker on Wed Nov 30 18:06:26 2016 2016-11-30_131205.jpg
Hi, I have a logbook where users can add entries and edit entries.

The delete option has been removed from the menu, but when they edit an entry they are able to delete the entry.

Is there a way to remove the Delete option from the menu that appears when Editing an entry?
    icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by Stefan Ritt on Wed Nov 30 19:01:03 2016 
Save drafts = 0

 




John
    icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by John Becker on Thu Dec 1 13:36:16 2016 2016-12-01_083434.jpg
Hi Stefan,

Thanks for your reply, I did as suggested but the button "Delete" still appears when the edit entry is selected.

Am I overlooking something?
    icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by Stefan Ritt on Fri Dec 2 13:50:11 2016 Screen_Shot_2016-12-02_at_13.49.44_.png
No, I get a different result. If I put "Save drafts = 0" in the config example coming with the distribution, I get the following:

ELOG V3.1.5-3fb85fa6