do not set min/max anymore as it can't be changed afterwards

This commit is contained in:
Uwe Steinmann 2015-10-20 18:15:08 +02:00
parent 1972d961f3
commit 47c2083fe6

View File

@ -39,8 +39,10 @@ class SeedDMS_View_Timeline extends SeedDMS_Bootstrap_Style {
function iteminfo() { /* {{{ */ function iteminfo() { /* {{{ */
$dms = $this->params['dms']; $dms = $this->params['dms'];
$document = $this->params['document']; $document = $this->params['document'];
if($document) {
$this->contentHeading(getMLText("selected_item")); $this->contentHeading(getMLText("selected_item"));
echo $document->getName(); echo $document->getName();
}
} /* }}} */ } /* }}} */
function data() { /* {{{ */ function data() { /* {{{ */
@ -189,6 +191,7 @@ $(document).ready(function () {
}); });
timeline.setData(data); timeline.setData(data);
timeline.redraw(); timeline.redraw();
// timeline.setVisibleChartRange(0,0);
} }
); );
}); });
@ -201,7 +204,7 @@ echo "</div>\n";
echo "<div class=\"span9\">\n"; echo "<div class=\"span9\">\n";
$this->contentHeading(getMLText("timeline")); $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";
echo "</div>\n"; echo "</div>\n";