diff --git a/module/api/ui/index.html.php b/module/api/ui/index.html.php
index eaf92d61aa..8dad4402d3 100644
--- a/module/api/ui/index.html.php
+++ b/module/api/ui/index.html.php
@@ -53,5 +53,6 @@ docApp
set::fetchOnChangeSpace(false),
set::maxHomeLibsOfSpace(0),
set::langData($langData),
+ set::autoSelectLib(),
set('$options', jsRaw('window.setDocAppOptions'))
);