Commit 99f64f2c42eb8111312e411a529c79d2626c52ee
1 parent
4248c353
Exists in
master
and in
81 other branches
Add tooltip for download requests
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
php/classes/AmdaAction.php
... | ... | @@ -170,6 +170,18 @@ class AmdaAction |
170 | 170 | break; |
171 | 171 | case 'download': |
172 | 172 | $objectMgr = new RequestMgr($nodeType); |
173 | + $objdown = $objectMgr->getObject($id); | |
174 | + $info = "Empty"; | |
175 | + if (!empty($objdown->list)) { | |
176 | + $params_list = array(); | |
177 | + foreach ($objdown->list as $p) { | |
178 | + if (!in_array($p->paramid, $params_list)) | |
179 | + $params_list[] = $p->paramid; | |
180 | + } | |
181 | + if (!empty($params_list)) { | |
182 | + $info = implode('<br/>',$params_list); | |
183 | + } | |
184 | + } | |
173 | 185 | break; |
174 | 186 | case 'condition': |
175 | 187 | $objectMgr = new RequestMgr($nodeType); | ... | ... |