mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-18 15:41:42 +00:00
turn off selectable items in timeline
This commit is contained in:
parent
cb4c6a5dbb
commit
88d973f496
|
@ -2028,7 +2028,7 @@ mayscript>
|
|||
data = [
|
||||
<?php
|
||||
foreach($timeline as $item) {
|
||||
echo "{'start': new Date('".$item['date']."'), 'content': '".$item['msg']."'},";
|
||||
echo "{'start': new Date('".$item['date']."'), 'content': '".$item['msg']."'},\n";
|
||||
}
|
||||
?>
|
||||
/* {
|
||||
|
@ -2040,19 +2040,19 @@ mayscript>
|
|||
// specify options
|
||||
var options = {
|
||||
'width': '100%',
|
||||
'_height': '<?= $height ?>px',
|
||||
'height': '100%',
|
||||
<?php
|
||||
if($start) {
|
||||
$tmp = explode('-', $start);
|
||||
echo "'min': new Date(".$tmp[0].", ".($tmp[1]-1).", ".$tmp[2]."),";
|
||||
echo "\t\t\t'min': new Date(".$tmp[0].", ".($tmp[1]-1).", ".$tmp[2]."),\n";
|
||||
}
|
||||
if($end) {
|
||||
$tmp = explode('-', $end);
|
||||
echo "'max': new Date(".$tmp[0].", ".($tmp[1]-1).", ".$tmp[2]."),";
|
||||
echo "'\t\t\tmax': new Date(".$tmp[0].", ".($tmp[1]-1).", ".$tmp[2]."),\n";
|
||||
}
|
||||
?>
|
||||
'editable': false, // enable dragging and editing events
|
||||
'_editable': false,
|
||||
'selectable': false,
|
||||
'style': 'box',
|
||||
'locale': 'de_DE'
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user