Ignore:
Timestamp:
04/17/13 06:20:18 (7 years ago)
Author:
rvelices
Message:

rv_autocomplete multi tags (need refinement)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_autocomplete/main.inc.php

    r22214 r22246  
    4545  global $template; 
    4646 
    47   $core_src = get_root_url().'plugins/'.RVAC_ID.'/res/suggest-core.js'; 
     47        $plug_root = get_root_url().'plugins/'.RVAC_ID.'/'; 
     48  $core_src = $plug_root.'res/suggest-core.js'; 
    4849 
    4950  $data_src = rvac_get_data_file(); 
     
    5152    $data_src = get_root_url().$data_src; 
    5253  else 
    53     $data_src = get_root_url().'plugins/'.RVAC_ID.'/suggestions.php'; 
     54    $data_src = $plug_root.'suggestions.php'; 
    5455 
    55   $fs = 'var RVAC={}; 
     56  $fs = 'var RVAC={root:"'.$plug_root.'"}; 
    5657$("#qsearchInput").one("focus", function() { 
    5758var s; 
Note: See TracChangeset for help on using the changeset viewer.