Closed (won't fix)
Project:
Active Select
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2008 at 10:44 UTC
Updated:
1 Feb 2013 at 10:35 UTC
Any text like php/mysql errors and devel output that get appended to the javascript file cause the script to stop.
The spinning icon doesn't stop and the select box shows the full list of options.
Perhaps a comment statement //
Comments
Comment #1
inforeto commentedPerhaps a comment statement / / < ! - - would prevent such random text to be run as illegal code.
//<!--(eh... text was filtered from the first post)
Comment #2
inforeto commentedI was able to supress devel output with
$GLOBALS['devel_shutdown'] = FALSE;As shown here: http://drupal.org/node/237239
Since i have no clue of where to put it in the module, i pasted the line on activeselect_set_header_nocache() thinking the headers run every time.
It is a small module, so there's not many places to try.
With this the throbber and the select boxes worked again, as javascript ran without error.
Must be in this module to supress the devel output for all the dependent modules at once.
(not just for the category module that was affected)
Found more cases of broken javascript in other drupal modules.
Naturally, devel is disabled to the end user, but needed in development and troubleshooting.
Comment #3
hazaThis version of Active Select is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.