Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest-fs-openacs
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-fs-openacs
Commits
26a5b7b1
Commit
26a5b7b1
authored
Dec 11, 2018
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- dunno
parent
656168c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
file-tree.tcl
lib/file-tree.tcl
+22
-0
No files found.
lib/file-tree.tcl
0 → 100644
View file @
26a5b7b1
# /intranet-rest-fs-openacs/lib/file-tree.tcl
#
# Variables from page:
#
# object_id
# ---------------------------------------------------------
#
# ---------------------------------------------------------
set
return_url
[
im_url_with_query
]
set
current_user_id
[
auth::require_login
]
# Create a random ID for the gantt editor
set
file_tree_rand
[
expr
{
round
(
rand
()
* 100000000.0
)}]
set
file_tree_id
"file_tree_
$file
_tree_rand"
# Get or create the folder related to object_id
set
folder_id
[
im_rest_fs_folder_for_object -object_id
$object
_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