Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
b22c78c4
Commit
b22c78c4
authored
Apr 30, 2013
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
30d55791
Changes
2
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_db.php
View file @
b22c78c4
...
...
@@ -653,6 +653,14 @@ class tx_nG6_db {
if
(
$res1
!=
1
)
{
$res
=
1
;}
}
// Delete right associated to the project
if
(
$res
==
0
)
{
$table
=
'fe_rights'
;
$where
=
'fe_rights.project_id='
.
$p_id
;
$res1
=
$GLOBALS
[
'TYPO3_DB'
]
->
exec_DELETEquery
(
$table
,
$where
);
if
(
$res1
!=
1
)
{
$res
=
1
;}
}
return
$res
;
}
...
...
ui/nG6/res/js/tx_nG6_pi1.js
View file @
b22c78c4
...
...
@@ -75,8 +75,7 @@ $(function () {
// Grab relevant info from URL fragment
var
params
=
simpleQueryParams
(
location
.
href
),
active_tab
=
params
[
"
active_tab
"
],
page_id
=
params
[
"
id
"
];
active_tab
=
params
[
"
active_tab
"
];
if
(
active_tab
==
"
users
"
)
{
$
(
'
#myTab a[href="#users"]
'
).
tab
(
'
show
'
);
...
...
@@ -975,6 +974,10 @@ function addRunHandler() {
});
});
$
(
'
#selectedWfForm
'
).
on
(
'
run
'
,
function
(
event
,
running_wf
)
{
var
params
=
simpleQueryParams
(
location
.
href
),
page_id
=
params
[
"
id
"
];
$
(
"
#reset_workflow
"
).
hide
();
$
(
"
#run_workflow
"
).
hide
();
$
(
"
#back_to_workflows_list
"
).
hide
();
...
...
@@ -1020,6 +1023,10 @@ function addProjectHandler(){
$
(
'
#setAndRunModalLabel
'
).
html
(
"
Loading
"
);
$
(
"
#reset_workflow
"
).
hide
();
$
(
"
#run_workflow
"
).
hide
();
var
params
=
simpleQueryParams
(
location
.
href
),
page_id
=
params
[
"
id
"
];
if
(
$
(
"
#close
"
).
size
()
==
0
)
{
$
(
'
<button id="close" class="btn" data-dismiss="modal"><i class="icon-remove"></i> Close</button>
'
).
insertBefore
(
"
#reset_workflow
"
);
}
...
...
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