CMS MADE SIMPLE FORGE

CGContentUtils

 

[#11961] Sortable list loses sortability if name or type changes

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Tue Jan 29 17:23:06 -0500 2019

Assigned To:
Version: 2.2.3
CMSMS Version: 2.2.9
Severity: None
Resolution: Invalid
State: Open
Summary:
Sortable list loses sortability if name or type changes
Detailed Description:
Case 1:
If you change the name of a Sortable content block, and update your page
template accordingly, the list will still be there and appear to be sortable but
you can't drag items to active/inactive or sort them.

Case 2:
Create a multiselect content block, submit it, then open and change the type to
sortable list. Same issue as above happens.

For case 1, you can set the name back to what it was and it will start working
again. There's no workaround for case 2, you have to recreate it and reselect on
all of your content pages if you want to switch it to a sortable list.


History

Comments
avatar
Date: 2019-01-30 11:15
Posted By: Matt Hornsby (DIGI3) (DIGI3)

Turns out this was simply because my tabs had the same ID as the field in
question, causing the js to fail. Easily solved by renaming the tab.
      
Updates

Updated: 2019-01-30 11:14
resolution_id: => 9