From e89b5e21fc1cb5682793d4a2e49c55cea848bd85 Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Fri, 11 Aug 2017 17:08:37 +0300 Subject: [PATCH] форма --- frontend/web/js/script.js | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index ed766d7..89852f3 100644 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -102,6 +102,11 @@ $( ); } ); + $(".btn").on("click", function(){ + var title_b = $(this).data('title'); + $(".modal-title").text(title_b); + $("#order-form input[type='hidden']").val(title_b); + }); } } ); \ No newline at end of file -- libgit2 0.21.4