Reset columns_selector before caching the page
This will allow to initialize this module again without duplicating columns checkboxes and without breaking the page.
This commit is contained in:
@@ -170,6 +170,7 @@ var initialize_modules = function() {
|
||||
var destroy_non_idempotent_modules = function() {
|
||||
"use strict";
|
||||
|
||||
App.ColumnsSelector.destroy();
|
||||
App.Datepicker.destroy();
|
||||
App.HTMLEditor.destroy();
|
||||
App.LegislationAnnotatable.destroy();
|
||||
|
||||
Reference in New Issue
Block a user