Commit 8f0709f0 authored by frjo's avatar frjo
Browse files

#1052572: Same gallery id for insert and image nodes when Per page gallery is set.

parent 9b4d9af1
......@@ -132,7 +132,7 @@ function template_preprocess_colorbox_insert_image(&$variables) {
case 0:
case 1:
case 2:
$variables['gallery_id'] = 'insert-all';
$variables['gallery_id'] = 'all';
break;
case 3:
$variables['gallery_id'] = 'insert-' . $variables['item']['fid'];
......
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