Changeset 15646


Ignore:
Timestamp:
06/12/12 00:12:38 (7 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.