mirror of https://github.com/MISP/MISP
Added bubble when hovering over related events
make baseurl variable conform bootstrap.pull/63/head
parent
63811bffb6
commit
4ab744ed76
|
@ -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);
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue