4d193b8e9a21fb8a2a1e9e63814693c4d1f8f1fc tdreszer Wed Mar 9 12:27:27 2011 -0800 redmine 2916. IE is finiky about extra commas. diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 518bf96..376bf0e 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -1700,31 +1700,31 @@ reloadFloatingItem(); updateTrackImg(id, "hgt.transparentImage=0", ""); } } else if (cmd == 'locateItem') { // currently experimental // o["Locate item" ] = {onclick: function(menuItemClicked, menuObject) { contextMenuHit(menuItemClicked, menuObject, "locateItem"); return true; }}; $('#hgLookupDialog').dialog({ resizable: false, height: 'auto', width: 'auto', modal: true, closeOnEscape: true, autoOpen: false, buttons: { "OK": function() { $(this).dialog("close"); - }}, + }} }); // this doesn't work (not sure why). $('input#itemLookupSuggest').autocomplete({ delay: 500, minLength: 2, source: ajaxGet(function () {return db;}, new Object), select: function (event, ui) { setPosition(ui.item.id, commify(getSizeFromCoordinates(ui.item.id))); } }); $('#hgLookupDialog').dialog('open'); } else { // if( cmd in 'hide','dense','squish','pack','full','show' ) // Change visibility settings: // // First change the select on our form: