diff --git a/before_block.txt b/before_block.txt new file mode 100644 index 000000000..6b822775a --- /dev/null +++ b/before_block.txt @@ -0,0 +1,27 @@ + jQuery(function($){ + function refillSelect(sel, tpl){ + var current=$(sel).val(); + var $tmpl=$(tpl); + var $sel=$(sel); + var defaultText=$('#PanelID option:first').text() || 'Select Panel'; + $sel.empty(); + $sel.append($('