Skip to content

Commit b52e610

Browse files
committed
Fix bug in content selector that prevented summary widgets from being created
1 parent 174478b commit b52e610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/application/views/widgets/edit/jquery.content_selector_bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ isMac = navigator.userAgent.indexOf('Mac OS X') != -1;
10011001
var data = { type: "summary", attrs: {} };
10021002
data.isEdit = $(this).data('isEdit');
10031003
data.attrs["data-widget"] = data.type;
1004-
data.attrs["data-nodes"] = $('#bootbox-content-selector-content .summary_multi_selection').serialize_nodes();
1004+
data.attrs["data-nodes"] = $('#bootbox-content-selector-content .summary_multi_selection').data('node_selection_dialogue').serialize_nodes();
10051005
if (data.attrs["data-nodes"] == '') {
10061006
alert("Please select at least one item for your summary widget.");
10071007
return false;

0 commit comments

Comments
 (0)