mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-29 17:28:27 +00:00
Text boxes prefilled with existing information
This commit is contained in:
parent
274707c80b
commit
051debfdf0
|
@ -274,6 +274,8 @@
|
|||
</form>";
|
||||
flyoutShow(header, description, actionBox);
|
||||
|
||||
$('#descriptionInput').val("<?php echo $image['alt']; ?>");
|
||||
|
||||
$("#descriptionConfirm").submit(function(event) {
|
||||
event.preventDefault();
|
||||
var descriptionInput = $("#descriptionInput").val();
|
||||
|
@ -308,6 +310,8 @@
|
|||
</form>";
|
||||
flyoutShow(header, description, actionBox);
|
||||
|
||||
$('#tagsInput').val("<?php echo $image['tags']; ?>");
|
||||
|
||||
$("#tagsConfirm").submit(function(event) {
|
||||
event.preventDefault();
|
||||
var tagsInput = $("#tagsInput").val();
|
||||
|
|
Loading…
Reference in a new issue