Add modal window for main header help icon #Noticket
This commit is contained in:
parent
86187d3f7f
commit
31cb344f1e
|
@ -273,7 +273,7 @@ config_check();
|
||||||
$table->data[0][3] = $maintenance_img;
|
$table->data[0][3] = $maintenance_img;
|
||||||
|
|
||||||
// Main help icon
|
// Main help icon
|
||||||
$table->data[0][4] = ui_print_help_icon ("main_help", true, '', 'images/header_help.png');
|
$table->data[0][4] = '<a href="#" class="modalpopup" id="helpmodal"><img src="images/header_help.png""></a>';
|
||||||
|
|
||||||
// Logout
|
// Logout
|
||||||
$table->data[0][5] = '<a class="white" href="' . ui_get_full_url('index.php?bye=bye') . '">';
|
$table->data[0][5] = '<a class="white" href="' . ui_get_full_url('index.php?bye=bye') . '">';
|
||||||
|
|
|
@ -72,6 +72,22 @@ $(document).ready (function () {
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("a.modalpopup").click (function () {
|
||||||
|
$('body').append( "<div id='opacidad' style='position:fixed;background:black;opacity:0.6;z-index:1'></div>" );
|
||||||
|
jQuery.get ("ajax.php",
|
||||||
|
{"page": "general/alert_enterprise",
|
||||||
|
"message":$(this).attr("id")},
|
||||||
|
function (data, status) {
|
||||||
|
$("#alert_messages").hide ()
|
||||||
|
.empty ()
|
||||||
|
.append (data)
|
||||||
|
.show ();
|
||||||
|
},
|
||||||
|
"html"
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
// Creacion de ventana modal y botones
|
// Creacion de ventana modal y botones
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue