Improvements to study list selection, study/timepoint association UI (LT-116 and LT-60)
This commit is contained in:
1 parent
41b75de814
commit
cb8672576e
8 files changed
+179
-24
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Helper for setting checkboxes as checked or unchecked inside templates,
|
||||
* based on another variable's value
|
||||
*/
|
||||
UI.registerHelper("inlineIf", function (value, match, attributeName) {
|
||||
if(value === match) {
|
||||
return attributeName;
|
||||
}
|
||||
return '';
|
||||
});
|
||||
Reference in new issue
Block a user