tell user if he attempts to move files to empty study
This commit is contained in:
parent
d3c03e0529
commit
6c954e16a9
|
@ -96,6 +96,10 @@ $(function() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
var study_id = $('#moveSelectedSelect').val();
|
var study_id = $('#moveSelectedSelect').val();
|
||||||
|
if (study_id == '') {
|
||||||
|
alert("please select a study to move to.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
var params = {
|
var params = {
|
||||||
'ids': JSON.stringify(ids),
|
'ids': JSON.stringify(ids),
|
||||||
'study': study_id
|
'study': study_id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user