mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-20 18:34:53 +00:00
Text boxes prefilled with existing information
This commit is contained in:
parent
274707c80b
commit
051debfdf0
1 changed files with 4 additions and 0 deletions
|
@ -274,6 +274,8 @@
|
||||||
</form>";
|
</form>";
|
||||||
flyoutShow(header, description, actionBox);
|
flyoutShow(header, description, actionBox);
|
||||||
|
|
||||||
|
$('#descriptionInput').val("<?php echo $image['alt']; ?>");
|
||||||
|
|
||||||
$("#descriptionConfirm").submit(function(event) {
|
$("#descriptionConfirm").submit(function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
var descriptionInput = $("#descriptionInput").val();
|
var descriptionInput = $("#descriptionInput").val();
|
||||||
|
@ -308,6 +310,8 @@
|
||||||
</form>";
|
</form>";
|
||||||
flyoutShow(header, description, actionBox);
|
flyoutShow(header, description, actionBox);
|
||||||
|
|
||||||
|
$('#tagsInput').val("<?php echo $image['tags']; ?>");
|
||||||
|
|
||||||
$("#tagsConfirm").submit(function(event) {
|
$("#tagsConfirm").submit(function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
var tagsInput = $("#tagsInput").val();
|
var tagsInput = $("#tagsInput").val();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue