Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
58392fa9
Commit
58392fa9
authored
Jul 16, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now ignoring "root" as object_id
parent
ad4a2457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
biz-object-tree-open-close.tcl
www/biz-object-tree-open-close.tcl
+5
-1
No files found.
www/biz-object-tree-open-close.tcl
View file @
58392fa9
...
...
@@ -28,7 +28,7 @@ ad_page_contract {
@author frank.bergmann@project-open.com
}
{
{
object_id:
integer,
multiple
""
}
{
object_id:multiple
""
}
{
return_url
""
}
{
page_url
"default"
}
{
user_id
""
}
...
...
@@ -56,6 +56,9 @@ if {"" eq $object_id } {
# Assume that there are few entries in the list of closed tree objects.
foreach
oid
$object
_id
{
if
{
"root"
eq
$oid
}
{
continue
}
if
{[
im_security_alert_check_integer -location
"biz-object-tree-open-close.tcl"
-value
$oid
]}
{
continue
}
db_1row info
"
select (select count(*)
from acs_objects
...
...
@@ -69,6 +72,7 @@ foreach oid $object_id {
) as status_exists_p
from dual
"
# Skip of the object dosn't exist. This may happen with partically saved GanttEditor trees
if
{
!$oid_exists_p
}
{
continue
}
...
...
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