Changeset 4973


Ignore:
Timestamp:
Sep 20, 2018, 1:45:28 PM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #1054: Even more functionality in the Flagged alignment wizard

Adding 'debug'-level messages from servlets that are displayed in the regular result list after the registration. Messages should be prefixed with [Debug].

Location:
extensions/net.sf.basedb.reggie/trunk/resources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/css/reggie-2.css

    r4546 r4973  
    366366  background-color: transparent !important;
    367367  color: #990000 !important;
     368}
     369
     370.success li.debug
     371{
     372  background-image: url('../images/bug-blue.png');
     373  color: #6666AA;
    368374}
    369375
  • extensions/net.sf.basedb.reggie/trunk/resources/reggie-2.js

    r4942 r4973  
    14151415  {
    14161416    var msg = '<ul>';
     1417    var debug = '';
    14171418    var numWarnings = 0;
    14181419    var numErrors = 0;
     
    14301431        numErrors++;
    14311432      }
     1433      else if (msgLine.indexOf('[Debug]') >= 0)
     1434      {
     1435        debug += '<li class="debug">' + Strings.encodeTags(msgLine.replace('[Debug]', ''));
     1436      }
    14321437      else
    14331438      {
     
    14351440      }
    14361441    }
    1437     msg += '</ul>';
     1442    msg += debug+'</ul>';
    14381443    return { 'html': msg, 'errors': numErrors, 'warnings': numWarnings };
    14391444  }
Note: See TracChangeset for help on using the changeset viewer.