summaryrefslogtreecommitdiff
path: root/repo.php
diff options
context:
space:
mode:
Diffstat (limited to 'repo.php')
-rw-r--r--repo.php19
1 files changed, 9 insertions, 10 deletions
diff --git a/repo.php b/repo.php
index 816e8f89a1..ab440d1a31 100644
--- a/repo.php
+++ b/repo.php
@@ -26,7 +26,7 @@ define('WT_SCRIPT_NAME', 'repo.php');
require './includes/session.php';
require_once WT_ROOT.'includes/functions/functions_print_lists.php';
-$controller=new WT_Controller_Repository();
+$controller = new WT_Controller_Repository();
if ($controller->record && $controller->record->canShow()) {
$controller->pageHeader();
@@ -74,15 +74,14 @@ if ($controller->record && $controller->record->canShow()) {
exit;
}
-$controller
- ->addInlineJavascript('
- jQuery("#repo-tabs")
- .tabs({
- create: function(e, ui){
- jQuery(e.target).css("visibility", "visible"); // prevent FOUC
- }
- });
- ');
+$controller->addInlineJavascript('
+ jQuery("#repo-tabs")
+ .tabs({
+ create: function(e, ui){
+ jQuery(e.target).css("visibility", "visible"); // prevent FOUC
+ }
+ });
+');
$linked_sour = $controller->record->linkedSources('REPO');