Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  15 Aug 2022, Zaher Salman, Bug Report, firefox hangs due to mhistory 
    Reply  15 Aug 2022, Stefan Ritt, Bug Report, firefox hangs due to mhistory 
       Reply  16 Aug 2022, Zaher Salman, Bug Report, firefox hangs due to mhistory 
          Reply  16 Aug 2022, Zaher Salman, Bug Report, firefox hangs due to mhistory 
             Reply  17 Aug 2022, Stefan Ritt, Bug Report, firefox hangs due to mhistory 
                Reply  17 Aug 2022, Zaher Salman, Bug Report, firefox hangs due to mhistory 
                   Reply  17 Aug 2022, Stefan Ritt, Bug Report, firefox hangs due to mhistory 
          Reply  16 Aug 2022, Konstantin Olchanski, Bug Report, firefox hangs due to mhistory 
Message ID: 2427     Entry time: 16 Aug 2022     In reply to: 2426     Reply to this: 2429
Author: Zaher Salman 
Topic: Bug Report 
Subject: firefox hangs due to mhistory 
I found the bug. The problem is triggered by changing the firefox window. This calls a function that is supposed to change the size of the history plot and it works well when the history plots are visible but not if the history plots are hidden in a javascript tab (not another firefox tab).

Is there a clean way to resize the history plot if the parent div changes size?? The offending code is
mhist[i].mhg = new MhistoryGraph(mhist[i]);
mhist[i].mhg.initializePanel(i);
mhist[i].mhg.resize();
mhist[i].resize = function () {
   mhis.mhg.resize();
};
ELOG V3.1.4-2e1708b5