Bugs: Browse | Submit New | Admin

[#29278] broken AJAX drag-n-drop for module & tab sorting

Date:
2011-06-15 01:49
Priority:
3
Submitted By:
Ian Chan (ianchan)
Assigned To:
Nobody (None)
Category:
Backend
State:
Open
Summary:
broken AJAX drag-n-drop for module & tab sorting

Detailed description
Not sure when this started one of our guide editors notified me that module and tab sorting was broken. I checked the
JS error console and found the following errors.

  Ajax.InPlaceEditor is not a constructor

  Sortable is not defined 

I changed line 11 of tools.html.erb to <%= javascript_include_tag "prototype", "scriptaculous",
"effects", "controls", "tool", "messages" %> and removed the hard-coded links
to prototype and other JS files. After restarting the application/Apache the tab and module sorting are now working
again.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2012-02-22 20:04
Sender: Rick Bearden

The fix works great.  However, it should be applied to tool.html.erb
rather than tools.html.erb.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item