From c51edb4ce8aeffc213f5f1e0ba3bcbdd2ab5e9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Wed, 4 Jun 2014 00:15:03 +0200 Subject: [PATCH] extra --- app/webroot/js/dreamjob.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js index eeac879..c97b812 100755 --- a/app/webroot/js/dreamjob.js +++ b/app/webroot/js/dreamjob.js @@ -113,7 +113,10 @@ var global_load = null; $("tr", that).removeClass("new"); console.log(newRow); $(that).append("" + newRow + ""); - event("form.tableForm tbody tr.new"); + + $"form.tableForm tbody tr.new select").each(function() { + $(this).select2({allowClear: true}); + }); evet(); } });