bc8a128684e7d203f7f74ee0d3579e5608751ee0 angie Fri Jun 7 07:06:07 2013 -0700 Revert "Added support for multi-view composites of type pgSnp. There are no config options for pgSnp, so disable the config pop-up in configurableByAjax. refs #683"This reverts commit 275a4e6b9d4eef6b3408e29198d94883b0e809ca. -- Tim pointed out in code review that there is a much better way to avoid the warnBox at the end of cfgTypeFromTdb. refs #10977 #683 diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index a661e60..3131beb 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -404,31 +404,30 @@ // Not all track types have separate configuration typedef enum _eCfgType { cfgNone =0, cfgBedScore =1, cfgWig =2, cfgWigMaf =3, cfgPeak =4, cfgGenePred =5, cfgChain =6, cfgNetAlign =7, cfgBedFilt =8, cfgBam =9, cfgPsl =10, cfgVcf =11, - cfgPgSnp =12, cfgUndetermined // Not specifically denied, but not determinable in lib code } eCfgType; eCfgType cfgTypeFromTdb(struct trackDb *tdb, boolean warnIfNecessary); /* determine what kind of track specific configuration is needed, warn if not multi-view compatible */ int configurableByAjax(struct trackDb *tdb, eCfgType cfgTypeIfKnown); // Is this track configurable by right-click popup, or in hgTrackUi subCfg? // returns 0 = nothing to cfg; <0=blocked via ajax; >0=allowed and will be cfgType if determinable void trackDbOverride(struct trackDb *td, struct trackDb *overTd); /* apply an trackOverride trackDb entry to a trackDb entry */ #ifdef OLD