force util.js to reload on version change

darcs-hash:20081020174231-5ed1f-03ae9fa6cfde7d224fbf7fa81f8d9a577b89a7b5.gz
This commit is contained in:
Evan Prodromou 2008-10-20 13:42:31 -04:00
parent 278f5cf842
commit a7c41c87b1

View File

@ -179,7 +179,7 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=
'src' => common_path('js/jquery.form.js')), 'src' => common_path('js/jquery.form.js')),
' '); ' ');
common_element('script', array('type' => 'text/javascript', common_element('script', array('type' => 'text/javascript',
'src' => common_path('js/util.js')), 'src' => common_path('js/util.js?version='.LACONICA_VERSION)),
' '); ' ');
common_element('link', array('rel' => 'search', 'type' => 'application/opensearchdescription+xml', common_element('link', array('rel' => 'search', 'type' => 'application/opensearchdescription+xml',
'href' => common_local_url('opensearch', array('type' => 'people')), 'href' => common_local_url('opensearch', array('type' => 'people')),