We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9021
    • 40 Posts
    hey guys,

    I was thinking of filing this as a bug but I’d like some opinions on this before doing that.

    every time you save a page, a script is executed. I’m not exactly sure what it does (I think it’s the mootools.js library), probably refresh the tree or something. While it does work fine in most cases, I have some issues with that:

    - it slows down. It’s only a second but when I have to edit hundreds of pages a day, that costs time. Besides, it takes longer when you work longer (like after a couple of hours it takes like 5 seconds), which is Firefox’s fault but is still annoying.
    - it has errors. Firebug shows me a lot of errors after a while.
    - it crashes or hangs quite a lot. I don’t think that has to do with any bugs, just because when you work fast and use it a lot, firefox or IE miss some parts sometimes. It takes FF 20 seconds to figure that out and only then it asks you whether you want to abort it. In the meantime FF hangs completely.

    That last problem also occurs on my website itself, where the mootools.js library is also included by quickedit (so it only happens to me as a manager but still annoying especially when I’m presenting it to people here and it crashes my browser sad ).

    Can somebody explain to me why it’s needed? Secondly, can’t we get rid of it? There are probably better ways to do cleanup stuff than userside scripting.
      • 25663 MODX Staff
      • 12,272 Posts
      I have to ask since it’s not explicitly stated, what version of MODx are you running and what version of Firefox?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 9021
        • 40 Posts
        I’m very sorry.

        Modx 0.9.6 on debian, apache2 and php5
        FF 2.0.0.7 with FireBug extension

        I have colleagues with the same configuration and they run into similar problems. It’s especially a problem when firefox is heavily used, like tens of tabs open for a long time.
          • 22303 MODX Staff
          • 10,725 Posts
          Mootools and Firebug are great together when debugging; but when trying to run mootools sites, Firebug destroys the performance and I find it often times makes the script stop responding altogether. I do not experience these with Firebug disabled. I believe these conflicts are fairly common. Try running it without Firebug and see what happens...
            • 6726
            • 7,075 Posts
            Jason beat me to it, yeah firebug is most likely the cause for this, I didn’t pay attention before and kept FireBug always ON but it makes FF much slower. Now I switch it on only when I need it !
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l'outil id
              • 9021
              • 40 Posts
              hmmm turns out you guys are right, thanks! Turned off FireBug and it was fast as lightning.

              That’s good enough for me, thanks a lot