From a12c1a6ce220f866d4d903ff41044e6876cb94d8 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 5 Feb 2016 16:36:38 +0200 Subject: [PATCH] add Vitaliy's widgets --- backend/web/js/option.js | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/backend/web/js/option.js b/backend/web/js/option.js index 64e5ce4..782fb58 100755 --- a/backend/web/js/option.js +++ b/backend/web/js/option.js @@ -17,6 +17,7 @@ function checkboxerInit() { $(value).trigger('change'); }); } + function accountRedraw() { var type = $('input[name="User[type]"]:checked').val(); console.log(type); @@ -26,6 +27,7 @@ function accountRedraw() { $('#form_definition').addClass('form_for_company'); } } + $(function() { var counter = 0; $(document).on('click', '.add_row', function() { -- libgit2 0.21.4