From: Michael Wiebusch Date: Mon, 2 Dec 2013 18:07:11 +0000 (+0100) Subject: bugfix for the last commit, hehe X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0f7c7e9f6a8e9c7babd9ef960dfff261ec53094a;p=mvdsensorcontrol.git bugfix for the last commit, hehe --- diff --git a/tools/jtageditor.pl b/tools/jtageditor.pl index 7e4345a..bc62137 100755 --- a/tools/jtageditor.pl +++ b/tools/jtageditor.pl @@ -254,12 +254,17 @@ EOF } else { # print an ancestor selector! print "include settings from:
"; - print_fileSelector( "", "ancestorSelector", - "changeAncestor(selectedConfigFile(),this.options[this.selectedIndex].text);reloadSetTree()" ); + my $ancestor_selector = fileSelector->new( + id=>"ancestorSelector", + name=>"ancestorSelectionDropdown", + onchange=>"changeAncestor(selectedConfigFile(),this.options[this.selectedIndex].text);" + ."reloadSetTree()" ); + $ancestor_selector->add_item(value=>'...'); + $ancestor_selector->add_items_from_dir(dir=>$confDir,ext=>"xml"); + $ancestor_selector->print_html(); } - #print ""; print ""; print "$configFileName"; print "";