aboutsummaryrefslogtreecommitdiff
path: root/data/assets/js/admin/dialogs/project-edit.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/assets/js/admin/dialogs/project-edit.js')
-rw-r--r--data/assets/js/admin/dialogs/project-edit.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/assets/js/admin/dialogs/project-edit.js b/data/assets/js/admin/dialogs/project-edit.js
index 8df9364..bfb7334 100644
--- a/data/assets/js/admin/dialogs/project-edit.js
+++ b/data/assets/js/admin/dialogs/project-edit.js
@@ -7,6 +7,8 @@ jQuery(function($) {
var r = ev.post_data;
$(p + 'repo').val(r.repo_url);
+ $(p + 'tag-prefix').val(r.tag_prefix);
+ $(p + 'secret').val(r.hook_secret);
});
$(p + 'confirm').click(function() {
@@ -14,7 +16,9 @@ jQuery(function($) {
type: 'guff.save',
post_data: {
- repo_url: $(p + 'repo').val(),
+ repo_url: $(p + 'repo').val(),
+ tag_prefix: $(p + 'tag-prefix').val(),
+ hook_secret: $(p + 'secret').val(),
},
});