fixed error in update manager

(cherry picked from commit 541c706616becfdb4637431b6cc0010f616012d7)
This commit is contained in:
daniel 2016-11-07 16:54:19 +01:00
parent 80babf25fe
commit 47c3adcdb2

View File

@ -110,22 +110,25 @@ if ($enterprise == ENTERPRISE_NOT_HOOK) {
?> ?>
<script> <script>
$(document).ready(function() { var open = "<?php echo $open;?>";
$('body').append( "<div id='opacidad' style='position:fixed;background:black;opacity:0.6;z-index:1'></div>" ); if(open){
jQuery.get ("ajax.php", $(document).ready(function() {
{ $('body').append( "<div id='opacidad' style='position:fixed;background:black;opacity:0.6;z-index:1'></div>" );
"page": "general/alert_enterprise", jQuery.get ("ajax.php",
"message":"infomodal"}, {
function (data, status) { "page": "general/alert_enterprise",
$("#alert_messages").hide () "message":"infomodal"},
.empty () function (data, status) {
.append (data) $("#alert_messages").hide ()
.show (); .empty ()
}, .append (data)
"html" .show ();
); },
"html"
);
return false; return false;
}); });
}
</script> </script>