Skip to content
Snippets Groups Projects

Superevents

Merged Tanner Prestegard requested to merge superevent into master
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
  • f3fc8a2a
    Changes to the eventlog API caused issues for calls to that resource
    from within the javascript which populates the event log on the web
    view for an event, since the issuer is no longer a dict containing
    'username' and 'display_name' keys, but rather just a string
    corresponding to the username.
@@ -625,7 +625,7 @@ require([
return t;
}
},
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer.display_name; } },
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer; } },
// Sometimes the comment contains HTML, so we just want to return whatever it has.
// This is where the link with the filename goes. Also the view in skymapViewer button
{
@@ -697,7 +697,7 @@ require([
var figComment = put(figTabInner, 'tr td');
figComment.innerHTML = log.comment;
figComment.innerHTML += ' <a href="' + log.file + '">' + log.filename + '.</a> ';
figComment.innerHTML += 'Submitted by ' + log.issuer.display_name + ' on ' + log.created;
figComment.innerHTML += 'Submitted by ' + log.issuer + ' on ' + log.created;
}
// XXX Have commented out the scroll pane at Patrick's request.
// var sp = new dojox.layout.ScrollPane({ orientation: "horizontal", style: "overflow: hidden;" }, figContainerId);
@@ -785,7 +785,7 @@ require([
return t;
}
},
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer.display_name; } },
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer; } },
// Sometimes the comment contains HTML, so we just want to return whatever it has.
// This is where the link with the filename goes. Also the view in skymapViewer button
{
@@ -877,7 +877,7 @@ require([
var columns = [
{ field: 'N', label: 'No.' },
{ field: 'created', label: 'Log Entry Created' },
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer.display_name; } },
{ field: 'issuer', label: 'Submitter', get: function(obj) { return obj.issuer; } },
// Sometimes the comment contains HTML, so we just want to return whatever it has.
// This is where the link with the filename goes. Also the view in skymapViewer button
{
Loading