X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/eb9adb539fb47ab4b5c4e859cf119b554b9116cb..d8afec36ce7222a5e60af0d6e9e57e3a22306214:/code/templates/list.tmpl

diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl
index b6e9e33..249541e 100644
--- a/code/templates/list.tmpl
+++ b/code/templates/list.tmpl
@@ -53,8 +53,9 @@ $errorRow('vmtype', $err)
 $errorRow('cdrom', $err)
 	<tr>
 	  <td>Clone image?</td>
-	  <td><input type="checkbox" name="clone_from" value="ice3"/>
-	      (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)</td>
+	  <td><input type="checkbox" name="clone_from" id="clone_from" value="ice3" onchange="onclone(event)"/>
+	      (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)
+	      <script type='text/javascript'>function onclone(e){ document.getElementById('cdromlist').value = ''; }</script></td>
 	</tr>
 $errorRow('cdrom', $err)
 	<tr>