0983285caec2469eeb7e50ec22fe8042afefa900 lrnassar Thu May 15 14:00:45 2025 -0700 Breaking message over multiple lines, feedback from CR. Refs #35746 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 669dbcf3566..1ed123b0c2f 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -4463,31 +4463,35 @@ // this.cmd can be used to figure out which menu item triggered this. // this.id === appropriate track if we are retrieving just a single track. // update local hgTracks.trackDb to reflect possible side-effects of ajax request. var newJson = scrapeVariable(response, "hgTracks"); //alert(JSON.stringify(newJson)); // DEBUG Example var oldJson = hgTracks; var valid = false; var stripped = {}; if (!newJson) { stripJsEmbedded(response, true, stripped); if ( ! stripped.warnMsg ) - warn("An unexpected error has occurred. Please consider letting us know by emailing genome-www@soe.ucsc.edu with the steps that resulted in this state and any info on how we could reproduce it. Using the sessions (My Data > My Sessions) tool can simplify the process by saving all configuration settings."); + warn("An unexpected error has occurred. Please consider letting us know " + + "by emailing genome-www@soe.ucsc.edu with the steps that resulted in " + + "this state and any info on how we could reproduce it. Using the " + + "sessions (My Data > My Sessions) tool can simplify the process by " + + "saving all configuration settings."); } else { if (this.id) { if (newJson.trackDb[this.id]) { var visibility = vis.enumOrder[newJson.trackDb[this.id].visibility]; var limitedVis; if (newJson.trackDb[this.id].limitedVis) limitedVis = vis.enumOrder[newJson.trackDb[this.id].limitedVis]; if (this.newVisibility && limitedVis && this.newVisibility !== limitedVis) // see redmine 1333#note-9 alert("There are too many items to display the track in " + this.newVisibility + " mode."); var rec = oldJson.trackDb[this.id]; rec.limitedVis = newJson.trackDb[this.id].limitedVis; rec.imgOffsetY = newJson.trackDb[this.id].imgOffsetY; vis.update(this.id, visibility);