Commit 99b4e6e2a39d3a484c3d55debd0811738c17b422
1 parent
4c191dce
Exists in
master
and in
31 other branches
Done
Showing
1 changed file
with
12 additions
and
1 deletions
Show diff stats
src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php
... | ... | @@ -136,7 +136,18 @@ class IHMPlotContextFileClass |
136 | 136 | |
137 | 137 | $pageContext['panels'][] = $panelContext; |
138 | 138 | } |
139 | - | |
139 | + $instantTimeNavNodes = $pageNode->getElementsByTagName('instantTimeNav'); | |
140 | + foreach($instantTimeNavNodes as $instantTimeNavNode){ | |
141 | + if ($instantTimeNavNode != "") | |
142 | + { | |
143 | + $instantTimeNavContext = array( | |
144 | + 'prevTime' => $instantTimeNavNode->getAttribute('prevTime'), | |
145 | + 'nextTime' => $instantTimeNavNode->getAttribute('nextTime'), | |
146 | + ); | |
147 | + $pageContext['instantTimeNav']= $instantTimeNavContext; | |
148 | + } | |
149 | + | |
150 | + } | |
140 | 151 | return array("success" => true, "page" => $pageContext); |
141 | 152 | } |
142 | 153 | } | ... | ... |