Closed (fixed)
Project:
CCK Node Reference ASM Select
Version:
5.x-1.0-rc3
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 11:20 UTC
Updated:
6 Dec 2008 at 14:16 UTC
Having downloaded what looks like the matching version of nodereference_asmselect.js from CVS (see http://drupal.org/node/342634), I'm still not getting the widget in a node edit page.
Firebug says:
$("#edit-field-audio-noderef-nids").asmSelect is not a function
[Break on this error] highlightRemovedLabel: 'Removed '
edit (line 65)
ASSERT: *** Search: Invalid URI passed to the nsISearchEngine constructor
[Break on this error] Components.utils.reportError(assertionText);
nsSearch...ervice.js (line 3172)
[Exception... "'Illegal value' when calling method: [nsITimerCallback::notify]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///D:/Mozilla%20Firefox/components/nsUpdateService.js :: anonymous :: line 2787" data: no]
[Break on this error] timerData.callback.notify(timer);
nsUpdate...ervice.js (line 2787)
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///D:/Mozilla%20Firefox/components/FeedProcessor.js :: FP_onStartRequest :: line 1440" data: no]
[Break on this error] channel.contentType = "application/vnd.mozilla.maybe.feed";
Comments
Comment #1
nath commentedDid you follow the installation instructions?
INSTALLATION
------------
1. Copy the nodereference_asmselect module directory to your sites/SITENAME/modules
directory.
2. Download ASM Select from http://code.google.com/p/jquery-asmselect/ (last known version
to work is 1.02 beta)
3. Extract it as a sub-directory called 'asmselect' in the module folder:
/sites/all/modules/nodereference_asmselect/asmselect/
4. Enable the module at Administer >> Site building >> Modules.
Comment #2
joachim commentedTurns out this was some weird problem with XAMPP on Windows -- I was getting 404s on those JS files for no reason I can fathom.
It's working now, though the items aren't orderable.
Comment #3
nath commentedHave you set the field to sortable in the configuration?
Comment #4
joachim commentedYup :)
Comment #5
nath commentedHmm and your jquery and jquery_ui installations are correct and up to date?
Comment #6
joachim commentedjQuery 1.2.6 vie jquery_update module
jQuery UI 1.5.3
Alternate Select Multiple (asmSelect) 1.0.2 beta
Comment #7
nath commentedThe same as here. I guess we have to wait for electricmonk to come back.
Comment #8
joachim commentedClosing this as the initial bug I filed for was probably XAMPP weirdness that seems to have gone away. Opening a fresh issue for the lack of sortability: http://drupal.org/node/343619.