Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
checklistapi
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
checklistapi
Commits
03ee21ba
Commit
03ee21ba
authored
Jun 17, 2012
by
Travis Carden
Browse files
Options
Downloads
Patches
Plain Diff
By TravisCarden: Fixed a regression in checklist menu item creation.
parent
ce4f94d8
Branches
Branches containing commit
Tags
7.x-1.0-beta2
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
checklistapi.module
+4
-1
4 additions, 1 deletion
checklistapi.module
with
4 additions
and
1 deletion
checklistapi.module
+
4
−
1
View file @
03ee21ba
...
...
@@ -129,8 +129,10 @@ function checklistapi_menu() {
'access callback'
=>
'checklistapi_checklist_access'
,
'access arguments'
=>
array
(
$id
),
'file'
=>
'checklistapi.pages.inc'
,
'menu_name'
=>
(
!
empty
(
$definition
[
'#menu_name'
]))
?
$definition
[
'#menu_name'
]
:
''
,
);
if
(
!
empty
(
$checklist
[
'#menu_name'
]))
{
$items
[
$definition
[
'#path'
]][
'menu_name'
]
=
$definition
[
'#menu_name'
];
}
// Clear saved progress.
$items
[
$definition
[
'#path'
]
.
'/clear'
]
=
array
(
'title'
=>
'Clear'
,
...
...
@@ -139,6 +141,7 @@ function checklistapi_menu() {
'access callback'
=>
'checklistapi_checklist_access'
,
'access arguments'
=>
array
(
$id
,
'edit'
),
'file'
=>
'checklistapi.pages.inc'
,
'type'
=>
MENU_CALLBACK
,
);
}
}
...
...
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