× This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Delete-file - button on file upload field

9 Jahre 5 Monate her #882 von Jonas Fagnastøl Henriksen
Delete-file - button on file upload field wurde erstellt von Jonas Fagnastøl Henriksen
This is a request for some minor changes in the file upload functionality: 

1. Small edit: Move the uploaded file link so it looks like it belongs to the correct field (now the link shows up just above the next field in the list)
2. Bigger edit: add functionality to remove the uploaded file. First it should be possible to clear the file field, something like: 

    <span style="cursor:pointer" class="icon-cancel" onclick="jQuery('#jform_somefilefield_hidden').val(''); jQuery(this).parent().children('a').remove();jQuery(this).remove()"></span>
3. I guess bullet 2 should be followed by actually removing the file in question, probably by overriding the save-function in the JTable-class?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.048 Sekunden
Powered by Kunena Forum

Wir verwenden eigene Cookies und Cookies von Drittanbietern, um Ihr Nutzererlebnis zu verbessern und Ihnen einen optimalen Service zu bieten. Wenn Sie die Website weiter nutzen, gehen wir davon aus, dass Sie mit unserer Cookie-Politik einverstanden sind.