Ignore:
Timestamp:
12/26/12 16:59:03 (12 years ago)
Author:
nanardon
Message:

don't hardcode url (wrong copy/paste)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/search/adv/index.tt

    r1191 r1192  
    22 
    33<form action="[% c.uri_for('/search', 'adv') %]"> 
    4 <select name=otype id=otype onChange="new Ajax.Updater( 'search_form', 
    5 'http://localhost:8080/ajax/search_adv', { parameters: 
    6 'otype='+value,asynchronous: 1 } )"> 
     4<select name=otype id=otype onChange=" 
     5    new Ajax.Updater( 'search_form', '[% c.uri_for('/ajax/search_adv') %]', 
     6    { 
     7        parameters: 'otype='+value,asynchronous: 1 
     8    } )"> 
    79[% FOREACH totype = ['user', 'group', 'nethost', 'aliases' ] %] 
    810<option value="[% totype %]"[% " selected" IF totype == otype %]>[% totype %]</option> 
Note: See TracChangeset for help on using the changeset viewer.