Changeset 192


Ignore:
Timestamp:
06/20/13 13:52:37 (6 years ago)
Author:
nhoyt
Message:

Added "Rerun Evaluation" button and supporting callback fn., text entities; updated version to 0.1.13-04.

Location:
trunk/proto-13
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-13/chrome/content/ai-sidebar.js

    r189 r192  
    6666 
    6767/** 
     68* @function updateEvaluation 
     69* 
     70* @memberOf ainspectorSidebar 
     71* 
     72* @desc Re-evaluate the current page and refresh the information display. 
     73*       Called when the user selects the Update Evaluation button. 
     74*/ 
     75 
     76ainspectorSidebar.updateEvaluation = function () { 
     77  ainspectorSidebar.showTransition() 
     78  setTimeout(ainspectorSidebar.updateContext, 300); 
     79}; 
     80 
     81/** 
    6882 * @function init 
    6983 * 
  • trunk/proto-13/chrome/content/ai-sidebar.xul

    r182 r192  
    166166        tooltiptext="&ai-button.tooltip.reports;"/> 
    167167      <spacer flex="3"/> 
     168      <button 
     169        label="&ai-button.label.evaluate;" 
     170        tooltiptext="&ai-button.tooltip.evaluate;" 
     171        oncommand="ainspectorSidebar.updateEvaluation()"/> 
    168172    </hbox> 
    169173  </vbox> 
  • trunk/proto-13/chrome/locale/en-US/ai-sidebar.dtd

    r182 r192  
    33 
    44<!ENTITY ai-button.label.back              "Back"> 
     5<!ENTITY ai-button.label.evaluate          "Rerun Evaluation"> 
    56<!ENTITY ai-button.label.preferences       "Preferences"> 
    67<!ENTITY ai-button.label.reports           "Reports"> 
     
    1213<!ENTITY ai-button.tooltip.backToGuideline "Back to WCAG Guideline view"> 
    1314<!ENTITY ai-button.tooltip.backToSummary   "Back to Summary view"> 
     15<!ENTITY ai-button.tooltip.evaluate        "Re-evaluate current page"> 
    1416<!ENTITY ai-button.tooltip.preferences     "Open Preferences dialog"> 
    1517<!ENTITY ai-button.tooltip.reports         "Generate HTML report"> 
  • trunk/proto-13/install.rdf

    r186 r192  
    1010        <em:name>AInspector Sidebar</em:name> 
    1111        <em:type>2</em:type> 
    12         <em:version>0.1.13-03</em:version> 
     12        <em:version>0.1.13-04</em:version> 
    1313 
    1414        <em:targetApplication> 
Note: See TracChangeset for help on using the changeset viewer.