Commit 96717225 authored by severin unger's avatar severin unger

always export states variable to js, even when it's empty (avoid js error on first collapse)

parent 34fce9f1
......@@ -276,6 +276,7 @@ function template_preprocess_draggableviews_view_draggabletable(&$vars) {
'draggableviews' => array(
$vars['tabledrag_table_id'] => array(
'expand_default' => $options['tabledrag_expand']['collapsed'] ? 1 : 0,
'states' => array(),
),
),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment