refinery/refinerycms — pull request #2604 by kalleth (2014-05-22 19:59:38+00:00)
Title: Move wymeditor javascript to after application.

Wymeditor javascripts use functionality included by the 'refinery/application' manifest. Therefore, it must be included afterwards.

This change in conjunction with my other pull request - parndt/refinerycms-wymeditor#10 fixes a problem where refinery/admin.js would be included twice, initialising refinery admin twice, so ajax pagination would trigger two ajax requests when clicking a page change rather than just the desired one.

This should fix the failing test `core/spec/features/refinery/admin/xhr_paging_spec.rb`.