We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    It appears there is a new problem now with the AjaxSearch javascript -- for some reason, in the default content from branches/0.9.6, the AjaxSearch javascripts are being registered into the content twice, effectively breaking AS somehow without reporting any kind of errors in Fx and IE7 at least. I tries to do something, and in fact the AJAX request appears to be completing properly, but no result or response is ever displayed on the page. Can anyone confirm this problem?
      • 25663 MODX Staff
      • 12,272 Posts
      I don’t think it happens if you’re logged out, but it does if you’re logged into the manager.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: rthrash at Jun 04, 2007, 01:51 PM

        I don’t think it happens if you’re logged out, but it does if you’re logged into the manager.
        It’s double-registering for me either way... huh
          • 25663 MODX Staff
          • 12,272 Posts
          Scratch that then ... must’ve been another problem that I was thinking about.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 27376
            • 576 Posts
            ... caching?

            Check the cache for the document, if it’s properly registered in the documentOutput then there might be a problem. Because jscripts registered via regClientStartupScript shouldn’t be injected in to the content until right before the output is sent to the browser.
              • 15987
              • 786 Posts
              I will try to look into this, it may be because the mootools call is hard coded into the template and AjaxSearch is adding it also. I’ll try to find time by the end of the week to tackle this.