Changeset 17985


Ignore:
Timestamp:
Jan 30, 2021, 3:51:20 PM (4 years ago)
Author:
clemens
Message:

reverse merge of r17981. If the TagsPlugin is loaded then TracKeywordsPlugin also works for wiki pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trackeywordsplugin/trunk/trackeywords/htdocs/trac_keywords.js

    r17981 r17985  
    22jQuery(function($) {
    33
    4   // the ID of the ticket "keywords" field
     4  // Normally the keywords are only supported for tickets by means of the "field-keywords".
     5  // However, if the TagsPlugin is loaded then "tags" apply for tickets and wiki pages.
    56  field_id = document.getElementById('tags') ? "tags" : "field-keywords";
    67
     
    6667      }));
    6768  })
    68  
    69   // append the keyword box right after the "Change Properties" ticket box.
     69
     70  // insert the keyword list into the DOM
    7071  $("div.ticket #properties").after($fieldset);
     72  $("div.wiki #changeinfo").after($fieldset);// wiki pages are supported with TagsPlugin
    7173})
Note: See TracChangeset for help on using the changeset viewer.