Needs to have the get_base_href() first.

This commit is contained in:
green-ponies (jgen) 2012-01-16 16:11:53 -05:00
parent 46960eed48
commit ce303d4fe3

View file

@ -58,8 +58,9 @@ class NotesTheme extends Themelet {
// check action POST on form
public function display_note_system(Page $page, $image_id, $recovered_notes, $adminOptions)
{
$page->add_html_header("<script src='$base_href/contrib/notes/jquery.qimgareaselect-0.4.js' type='text/javascript'></script>", 100);
$page->add_html_header("<script src='$base_href/contrib/notes/jquery.rimgnotes-0.2.js' type='text/javascript'></script>", 101);
$data_href = get_base_href();
$page->add_html_header("<script src='$data_href/contrib/notes/jquery.qimgareaselect-0.4.js' type='text/javascript'></script>", 100);
$page->add_html_header("<script src='$data_href/contrib/notes/jquery.rimgnotes-0.2.js' type='text/javascript'></script>", 101);
$html = "<script type='text/javascript'>