02646d7ea3d38d8e6dfd0584894dcf77b334447c tdreszer Tue Nov 19 10:57:26 2013 -0800 Adding back-button suppoirt through jquery.history.js API. At this time back-button support is only for position. At all times the image should agree with the cart. This means that moving forward, the image must be stacked in window.History.state and moving back, the image must be refreshed using the old location. Note that full page refreshes complicate the picure. Back-button will recall a client side cached page which may be greatly out of sync with cart. Stretegy is to use image only update, but if all else fails, a full page reload is used. This means, that image only update is preferred going forward. To that end, several previous places that required full page refresh can now be done with image only rtefresh. At this time, anytime the chrom changes, the page will be fully refreshed. Redmine #7473. diff --git src/hg/js/makefile src/hg/js/makefile index 582a896..7bb546c 100644 --- src/hg/js/makefile +++ src/hg/js/makefile @@ -1,25 +1,25 @@ 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 jquery.plugins.js \ - jquery.validate.min.js + jquery.validate.min.js jquery.history.js JS_FILES=ajax.js alleles.js autocomplete.js edwPersona.js \ hgCustom.js hgGateway.js hgHubConnect.js hgTracks.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 \