Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-rest
Commits
edb6e3e4
Commit
edb6e3e4
authored
Dec 22, 2017
by
cosine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added roll-up of % complete
parent
1c634a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
project-task-tree-action.tcl
www/data-source/project-task-tree-action.tcl
+14
-8
No files found.
www/data-source/project-task-tree-action.tcl
View file @
edb6e3e4
...
...
@@ -3,14 +3,7 @@
# Copyright (C
)
2013
]
project-open
[
#ad_page_contract {
# Recieves a POST request from Sencha for an update
# of in-line editing a TreeGrid
# @author frank.bergmann@project-open.com
#
}
{
# {debug_p 0
}
#
}
# Receives the URL parameters in the variable query_hash_pairs
# ---------------------------------------------------------------
#
...
...
@@ -22,6 +15,10 @@ set debug_p 0
ns_log Notice
"project-task-tree-action: query_hash_pairs=
$query
_hash_pairs"
array
set var_hash
$query
_hash_pairs
set
action
$var
_hash
(
action
)
set
project_id
$var
_hash
(
project_id
)
ns_log Notice
"project-task-tree-action: project_id=
$project
_id, action=
$action
"
# Default values for JSON return message
set
success
"true"
...
...
@@ -78,3 +75,12 @@ if {[catch {
set message
[
im_rest_error -format json -http_status 404 -message
"Internal Error:
[
ad_print_stack_trace
]
"
]
}
# Advance %completed.
# This is actually duplicate and possibly inconsistent, because
# because the JavaScript GanttEditor already calculated the
# percentage. Let's hope both number are equal...
#
# However, we need to call this in order to update the main
# project. => Maybe limit to that in the call?
im_timesheet_project_advance
$project
_id
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment