]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 253583 Warning: assignment to undeclared variable assigned_to
authortimeless%mozdev.org <>
Mon, 2 Aug 2004 11:54:15 +0000 (11:54 +0000)
committertimeless%mozdev.org <>
Mon, 2 Aug 2004 11:54:15 +0000 (11:54 +0000)
patch by mcsmurf@gmx.de r=vladd a=justdave

template/en/default/bug/create/create.html.tmpl

index 571a263edbdf9b21dac2f60052a5244f3ca2224c..274e30ca70696cd8690df3a3899a8576ac685193 100644 (file)
@@ -45,7 +45,7 @@ function set_assign_to() {
     // Based on the selected component, fill the "Assign To:" field
     // with the default component owner.
     var form = document.Create;
-    assigned_to = form.assigned_to.value
+    var assigned_to = form.assigned_to.value;
     var index = -1;
     if (form.component.type == 'select-one') {
         index = form.component.selectedIndex;