Changeset 15646


Ignore:
Timestamp:
Jun 12, 2012, 12:12:38 AM (12 years ago)
Author:
mistic100
Message:

don't render typetags on admin dropdowns (breaks JS search)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/typetags/typetags.php

    r15149 r15646  
    66function typetags_render($tag)
    77{
    8   global $pwg_loaded_plugins;
     8  global $pwg_loaded_plugins, $page;
     9 
     10  if ( defined('IN_ADMIN') and in_array($page['page'], array('photo', 'batch_manager')) )
     11  {
     12    return $tag;
     13  }
    914 
    1015  $query = '
Note: See TracChangeset for help on using the changeset viewer.