3a4801b70a7c73d3b0d2a543f641111c346691a0
max
  Fri Nov 21 22:32:01 2025 -0800
fixing jquery version bug, refs #36743

diff --git src/hg/js/utils.js src/hg/js/utils.js
index 422e91d6ede..c4c6a4a2192 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -2750,31 +2750,31 @@
     sortUsingColumns: function (table) // NOT USED
     {   // Sorts a table body based upon the marked columns
         var columns = new sortTable.columnsFromTable(table);
         tbody = $(table).find("tbody.sortable")[0];
         if (tbody)
             sortTable.sortByColumns(tbody,columns);
     },
 
     savePositions: function (table)
     {   // Sets the value for the input.trPos of a table row.  Typically this is a "priority" for
         // a track.  This gets called by sort or dragAndDrop in order to allow the new order to
         // affect hgTracks display
         var inputs = $(table).find("input.trPos");
         $( inputs ).each( function(i) {
             var tr = $( this ).closest('tr')[0];
-            var trIx = $( tr ).attr('rowIndex').toString();
+            var trIx = $( tr ).prop('rowIndex').toString();
             if ($( this ).val() != trIx) {
                 $( this ).val( trIx );
                 if (typeof(subCfg) === "object")  // NOTE: couldn't get $(this).change() to work.
                     subCfg.markChange(null,this); //    probably because this is input type=hidden!
             }
         });
     },
 
     ///// Following functions are for Sorting by priority
     trPriorityFind: function (tr)
     {   // returns the position (*.priority) of a sortable table row
         var inp = $(tr).find('input.trPos')[0];
         if (inp)
             return $(inp).val();
         return 999999;