Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-workflow
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
Dominique Lenoir
intranet-timesheet2-workflow
Commits
a7298c03
Commit
a7298c03
authored
Oct 24, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Beautified error messages
parent
7c6fd25d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
new.tcl
www/conf-objects/new.tcl
+3
-2
No files found.
www/conf-objects/new.tcl
View file @
a7298c03
...
...
@@ -42,6 +42,9 @@ set conf_project_options [im_project_options]
set
conf_project_nr
""
if
{[
info
exists conf_id
]}
{
# Check if the conf_objbect exists
set conf_object_exists_p
[
db_string exists
"select count(*) from im_timesheet_conf_objects where conf_id = :conf_id"
]
# Add the conf_item's project to the options, if not already there
# Otherwise the component can't show the project's name
set conf_project_id
[
db_string conf_pid
"select conf_project_id from im_timesheet_conf_objects where conf_id = :conf_id"
-default
""
]
...
...
@@ -139,11 +142,9 @@ ad_form \
ad_form -extend -name
$form
_id
\
-select_query
{
select *
from im_timesheet_conf_objects
where conf_id = :conf_id
}
-new_data
{
db_exec_plsql create_conf
"
SELECT im_conf__new(
...
...
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