Added bubble when hovering over related events

make baseurl variable conform bootstrap.
pull/63/head
noud 2012-12-05 09:00:35 +01:00
parent 63811bffb6
commit 4ab744ed76
2 changed files with 2 additions and 1 deletions

View File

@ -277,6 +277,7 @@ class EventsController extends AppController {
// params for the jQuery RESTfull interface
$this->set('authkey', $this->Auth->user('authkey'));
$this->set('baseurl', Configure::read('CyDefSIG.baseurl'));
$this->set('relatedAttributes', $relatedAttributes);

View File

@ -12,7 +12,7 @@ function getTitle(incInt, incIntb){
if (document.getElementById(findElementString).title == "Loading event info..."){
$.ajax({
type: 'GET',
url: "http://127.0.0.1/events/"+id+".xml",
url: "<?php echo $baseurl ?>/events/"+id+".xml",
dataType: 'xml',
headers: {
"Accept": "application/xml",