1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Bugfix vari

This commit is contained in:
Thomas Zilio
2017-09-07 18:58:41 +02:00
parent e7a23297c9
commit f25677ef33
11 changed files with 321 additions and 210 deletions

View File

@@ -455,7 +455,7 @@ if (!empty(get_var('Abilitare orario lavorativo'))) {
$('#tiny-loader').hide();
}
},
<?php
<?php
if (Modules::getPermission($id_module) == 'rw') {
?>
droppable: true,
@@ -517,16 +517,16 @@ if (Modules::getPermission($id_module) == 'rw') {
}
});
},
<?php
<?php
}
?>
eventAfterRender: function(event, element) {
element.find('.fc-title').html(event.title);
<?php
if (get_var('Utilizzare i tooltip sul calendario') == '1') {
?>
eventAfterRender: function(event, element) {
//alert(element.find('.fc-event-title').html();
element.find('.fc-title').html(event.title);
$.get(globals.rootdir + "/modules/dashboard/ajaxreq.php?op=get_more_info&id="+event.id+"&timeStart="+moment(event.start).format("YYYY-MM-DD HH:mm")+"&timeEnd="+moment(event.end).format("YYYY-MM-DD HH:mm"), function(data,response){
if( response=="success" ){
data = $.trim(data);
@@ -551,12 +551,12 @@ if (get_var('Utilizzare i tooltip sul calendario') == '1') {
return false;
}
}
});
},
<?php
});
<?php
}
?>
?>
},
events: {
url: globals.rootdir + "/modules/dashboard/ajaxreq.php?op=get_current_month",
type: 'GET',