Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCM Base Distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCIO_ODEE_Web
WCM Base Distribution
Commits
72f7993b
Commit
72f7993b
authored
9 years ago
by
Chris Gross
Browse files
Options
Downloads
Patches
Plain Diff
media magnet fix
parent
ce5a0afc
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
profiles/wcm_base/modules/custom/ocio_panels_settings/ocio_panels_settings.module
+2
-10
2 additions, 10 deletions
...s/custom/ocio_panels_settings/ocio_panels_settings.module
with
2 additions
and
10 deletions
profiles/wcm_base/modules/custom/ocio_panels_settings/ocio_panels_settings.module
+
2
−
10
View file @
72f7993b
...
...
@@ -64,11 +64,12 @@ function ocio_panels_settings_form_mm_widgets_live_pane_edit_form_alter(&$form,
$form
[
'override_title_markup'
][
'#access'
]
=
FALSE
;
$form
[
'override_title_heading'
][
'#access'
]
=
FALSE
;
$form
[
'override_title_text'
][
'#attributes'
][
'placeholder'
]
=
t
(
'Title'
);
$form
[
'items_template_key'
][
'#access'
]
=
FALSE
;
$form
[
'display_settings'
][
'#type'
]
=
'fieldset'
;
$form
[
'display_settings'
][
'#title'
]
=
t
(
'Display Settings'
);
$form
[
'display_settings'
][
'items_limit'
]
=
$form
[
'items_limit'
];
unset
(
$form
[
'items_limit'
]);
unset
(
$form
[
'item_template'
]);
array_unshift
(
$form
[
'#submit'
],
'ocio_panels_settings_form_mm_widgets_live_pane_edit_form_submit'
);
}
...
...
@@ -87,15 +88,6 @@ function ocio_panels_settings_panopoly_magic_forms_to_improve_alter(&$form_ids)
$form_ids
[]
=
'mm_widgets_live_pane_edit_form'
;
}
/**
* Implements hook_panels_pane_prerender().
*/
function
ocio_panels_settings_panels_pane_prerender
(
$pane
)
{
if
(
$pane
->
type
==
'mm_widgets_live_pane'
)
{
$pane
->
configuration
[
'item_template'
]
=
variable_get
(
'mm_widgets_default_template'
,
_mm_widgets_block_template
());
}
}
/*
* Implements hook_settings_preprocess_panels_add_content_modal().
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment