issue #0001687: data view generate in dialog
This commit is contained in:
parent
7257c3497b
commit
34ce491d13
@ -362,7 +362,23 @@ class GiantController extends Zend_Controller_Action
|
||||
}
|
||||
endforeach;
|
||||
$this->view->val_siren = $merged_siren;
|
||||
/*
|
||||
$sess = new stdClass();
|
||||
$sess->mon_result = $result;
|
||||
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ( $auth->hasIdentity() ) {
|
||||
$this->identity = $auth->getIdentity();
|
||||
}
|
||||
$this->giant->monitoring = $sess;
|
||||
$auth->getStorage()->write($this->giant);
|
||||
*/
|
||||
$type = $this->getRequest()->getParam('Type');
|
||||
if(isset($type))
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
print_r($this->getRequest()->getParams());
|
||||
}
|
||||
}
|
||||
public function retAction()
|
||||
{
|
||||
|
@ -108,7 +108,7 @@ par
|
||||
<td style='text-align: left'>
|
||||
<?php
|
||||
foreach ($monitor as $monitor_type) {
|
||||
echo "<p>".$monitor_type->Company->Event[0]->EventCode."</p>";
|
||||
echo "<a class='ev_code' value='".serialize($monitor_type)."' title='".$monitor_type->Company->Event[0]->EventCode."' href='/giant/retrive/Type/".$monitor_type->Company->Event[0]->EventCode."'><p>".$monitor_type->Company->Event[0]->EventCode."</p></a>";
|
||||
} //Fin foreach?>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -1,9 +1,11 @@
|
||||
$(document).ready( function()
|
||||
{
|
||||
$('a.dial').on('click', function(e){
|
||||
$('a.dial,.ev_code').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var title = $(this).attr('title');
|
||||
var href = $(this).attr('href');
|
||||
var host = 'http://'+window.location.hostname+$(this).attr('href');
|
||||
alert($(this).attr('value'));
|
||||
var dlgOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
|
Loading…
Reference in New Issue
Block a user