Changeset 174


Ignore:
Timestamp:
05/11/13 03:08:52 (6 years ago)
Author:
nhoyt
Message:
  • view-category.xul: Removed ondblclick attribute and handler from ainspector-rule-category-tree (need to handle double-click when no row is selected).
  • view-details.js: Added logic in setDetailsView fn. to handle ALL_RULES title without adding " Rule" suffix.
Location:
trunk/proto-13/chrome/content
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-13/chrome/content/view-category.xul

    r172 r174  
    4242      sortDirection="descending" 
    4343      sortResource="ainspector-level-col" 
    44       ondblclick="ainspectorSidebar.selectView(ainspector.viewConst.DETAILS)" 
    4544      onselect="ainspectorSidebar.updateSelectedRuleInfo(this)"> 
    4645      <treecols> 
  • trunk/proto-13/chrome/content/view-details.js

    r173 r174  
    3333 
    3434  // construct and set view title 
     35  var titleValue = ainspectorSidebar.getViewTitle(parent.AINSPECTOR.previousView); 
    3536  var titleSuffix = ainspectorSidebar.nlsProperties.getString('view.title.details-suffix'); 
    36   ainspectorSidebar.viewTitle.value = ainspectorSidebar.getViewTitle(parent.AINSPECTOR.previousView) + titleSuffix; 
     37  ainspectorSidebar.viewTitle.value = 
     38    parent.AINSPECTOR.previousView === ainspector.viewEnum.ALL_RULES ? 
     39    titleValue : titleValue + titleSuffix; 
    3740 
    3841  // get prefix labels for rule info 
Note: See TracChangeset for help on using the changeset viewer.