From: Michael Wiebusch Date: Wed, 3 Jul 2013 11:45:11 +0000 (+0200) Subject: inheritance dropdown menu added, dropdown subroutine modified X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=b55e00795d3542f3a245bec070218aae67f1efb8;p=mvdsensorcontrol.git inheritance dropdown menu added, dropdown subroutine modified --- diff --git a/xml_spielwiese/cgitest.pl b/xml_spielwiese/cgitest.pl index 2cb4eea..b7409c4 100755 --- a/xml_spielwiese/cgitest.pl +++ b/xml_spielwiese/cgitest.pl @@ -191,6 +191,9 @@ sub print_ancestorInfo {
 X 
EOF print ""; + } else { # print an ancestor selector! + print_fileSelector("","ancestorSelector","changeAncestor(this.options[this.selectedIndex].text)"); + } print ""; } @@ -356,9 +359,11 @@ sub del { sub print_fileSelector { my $configFile = $_[0]; + my $elementId = $_[1]; + my $action = $_[2]; opendir( DIR, $confDir ) or die $!; - print ''; print ""; my @xmlfiles; @@ -426,12 +431,12 @@ sub print_fileSelection { print ""; print ""; - print_fileSelector($configFile); + print_fileSelector($configFile,"fileSelector","loadFile()"); print ""; print ""; print -""; +""; print ""; print "";