@srcdir@/extras/locale_html_options.pl \
@srcdir@/extras/org_tree_js.pl \
@srcdir@/extras/org_lasso_js.pl \
+ @srcdir@/extras/facet_types_js.pl \
@srcdir@/extras/org_tree_html_options.pl \
@srcdir@/extras/org_tree_proximity.pl \
@srcdir@/extras/autogen.sh \
perl org_lasso_js.pl "$CONFIG" > "$JSDIR/OrgLasso.js";
cp "$JSDIR/OrgLasso.js" "$FMDOJODIR/"
+echo "Updating Facet Definitions";
+perl facet_types_js.pl "$CONFIG" "$JSDIR" "FacetDefs.js";
+cp "$JSDIR/en-US/FacetDefs.js" "$FMDOJODIR/"
+
if [ ! -z "$PROXIMITY" ]
then
echo "Refreshing proximity of org units";
my %hash = (
id => $o->id,
name => val($o->name),
- label => $o->val($o->label),
+ label => val($o->label),
classname => val($o->field_class->name),
classlabel => val($o->field_class->label)
);
- $pile .= $hash{id}.':{'.join(',', map { "$_:$hash{$_}" } keys %hash).'",';
+ $pile .= $hash{id}.':{'.join(',', map { "$_:$hash{$_}" } keys %hash).'},';
}
$pile =~ s/,$//; # remove trailing comma