]> 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:42:05 +0000 (11:42 +0000)
committertimeless%mozdev.org <>
Mon, 2 Aug 2004 11:42:05 +0000 (11:42 +0000)
patch by mcsmurf@gmx.de r=vladd a=justdave

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

index 3abf752686983cea70cbf56fc05544d7c5224344..3364649e8f564023babdc86a7386271f8d583f50 100644 (file)
@@ -46,7 +46,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;