6a13f35fee8b9e5551d6d582814488c516ac5ab3
angie
  Mon Apr 23 09:06:25 2012 -0700
Feature #1652 (Variant Annotation Tool): First draft of UI: mostactions trigger an ajax call that sends a JSON description of the
query (and what changed); the response is a JSON description of one
or more page sections, with new HTML content to reflect the change.
There is a lot of code lifted verbatim from hgTables that I intend
to libify when the dust settles a bit (search for "verbatim").
Things that work: group -> track -> table selection; reordering
updates notion of which source is primary (needed for filters);
removed sections are reset, and newly displayed sections always appear
at bottom; all buttons do something, even if it's not yet useful.  :)
To do: query execution, position input, output format change handling,
output field selection, and filters.

diff --git src/hg/js/makefile src/hg/js/makefile
index 1886ac9..2a6a9d9 100644
--- src/hg/js/makefile
+++ src/hg/js/makefile
@@ -1,27 +1,27 @@
 include ../../inc/common.mk
 
 # recursive target to do install to DEST, with extra excludes EXCL.
 
 JQUERY_FILES=jquery.js jquery.tablednd.js \
     jquery.imgareaselect.js jquery-ui.js jquery.contextmenu.js \
     ui.dropdownchecklist.js \
     jquery.cookie.js jquery.watermarkinput.js \
     jquery.floatheader.js jquery.rotateTableCellContent.js 
 
 JS_FILES=ajax.js autocomplete.js hgCustom.js hgGateway.js hgHubConnect.js hgTracks.js \
-    hui.js utils.js ddcl.js subCfg.js \
+    hgVarAnnogrator.js hui.js utils.js ddcl.js subCfg.js \
     encodeProject.js encodeDataSummary.js encodeDataMatrix.js encodeChipMatrix.js encodeMatrix.js \
     ${JQUERY_FILES}
 
 STATIC_FILES=staticDoc.js jquery.js
 
 ifdef LOWELAB
     JS_FILES += lowetooltip.js loweautocomplete.js
 endif
 
 user:
 	if test -d ${DOCUMENTROOT}-${USER}; then \
 	    ${MAKE} doInstall DEST=${DOCUMENTROOT}-${USER}/js; \
 	else \
 	    ${MAKE} doInstall DEST=${DOCUMENTROOT}/js/${USER}; \
 	fi