(04:01 PM) (jsabo@frostedflakes) (0/pts/3) (~/Source/cobbler)
$ grep -r populate_mgmt_classes * web/cobbler_web/templates/generic_edit.tmpl: populate_mgmt_classes();
Where is that defined? Are we missing that in the git master perhaps?
I see it in my commit tree, and I just did a git pull. The function is in the template web/cobbler_web/templates/generic_edit.tmpl. Can you verify you see it there?
The javascript function looks like this on my system:
function populate_mgmt_classes() { var mgmt_classes = document.getElementById("mgmtclasses");
var new_option = new Option("test1","test1") mgmt_classes.options.add(new_option);
var new_option = new Option("test2","test2") mgmt_classes.options.add(new_option);
var new_option = new Option("test3","test3") mgmt_classes.options.add(new_option);
mgmt_classes.selectedIndex = 0 }
It looks the same for distros/profiles/systems. The commit that included this was:
commit 03834b92314a9f8df8a5d433c84c98ed2e6f573f