Commit 22253da3fe7287c881a9114ce7859f3181458a62

Authored by Benjamin Renard
1 parent c2d88cc5

Fix zoom reset

src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... ... @@ -27,6 +27,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
27 27 protected function unmarshallRequest($input)
28 28 {
29 29 $forceTimeZoomReset = false;
  30 + $resetZoom = false;
30 31  
31 32 if (isset($input->{'action'}))
32 33 {
... ... @@ -46,7 +47,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
46 47 $this->paramsData->setRequestIndex($input->{'tab-index'});
47 48 $postProcessCmd = "";
48 49  
49   - if ($forceTimeZoomReset)
  50 + if ($resetZoom || $forceTimeZoomReset)
50 51 $this->resetZoomList(PLOT_RESULT_FILE_KEY."_".$input->{'tab-index'}, $forceTimeZoomReset);
51 52  
52 53 $requestNode = $this->paramsData->addRequestNode();
... ...