mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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() { /* {{{ */
|
function iteminfo() { /* {{{ */
|
||||||
$dms = $this->params['dms'];
|
$dms = $this->params['dms'];
|
||||||
$document = $this->params['document'];
|
$document = $this->params['document'];
|
||||||
$this->contentHeading(getMLText("selected_item"));
|
if($document) {
|
||||||
echo $document->getName();
|
$this->contentHeading(getMLText("selected_item"));
|
||||||
|
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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user