mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
do not set min/max anymore as it can't be changed afterwards
This commit is contained in:
parent
1972d961f3
commit
47c2083fe6
|
@ -39,8 +39,10 @@ class SeedDMS_View_Timeline extends SeedDMS_Bootstrap_Style {
|
|||
function iteminfo() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$document = $this->params['document'];
|
||||
$this->contentHeading(getMLText("selected_item"));
|
||||
echo $document->getName();
|
||||
if($document) {
|
||||
$this->contentHeading(getMLText("selected_item"));
|
||||
echo $document->getName();
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
function data() { /* {{{ */
|
||||
|
@ -189,6 +191,7 @@ $(document).ready(function () {
|
|||
});
|
||||
timeline.setData(data);
|
||||
timeline.redraw();
|
||||
// timeline.setVisibleChartRange(0,0);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@ -201,7 +204,7 @@ echo "</div>\n";
|
|||
|
||||
echo "<div class=\"span9\">\n";
|
||||
$this->contentHeading(getMLText("timeline"));
|
||||
$this->printTimeline($timelineurl, 550, date('Y-m-d', $from), date('Y-m-d', $to+1), $skip);
|
||||
$this->printTimeline($timelineurl, 550, ''/*date('Y-m-d', $from)*/, ''/*date('Y-m-d', $to+1)*/, $skip);
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user