Skip to content

Commit

Permalink
Replace all deferred templates with AbstractSearchObjectDeferred
Browse files Browse the repository at this point in the history
  • Loading branch information
maccabeelevine committed Jan 4, 2024
1 parent 52172ec commit 4a5f6ea
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 76 deletions.
66 changes: 0 additions & 66 deletions module/VuFind/src/VuFind/View/Helper/Root/DeferredRecommend.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php
// Set up Javascript for use below:
$classParts = explode('\\', $this->recommend::class);
$containerId = array_pop($classParts) . 'Recommend';
$loadJs = 'var url = VuFind.path + "/AJAX/Recommend?' . $this->recommend->getUrlParams() . '";'
. "VuFind.loadHtml(\$('#$containerId'), url);";
?>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions themes/root/theme.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
'VuFind\View\Helper\Root\CspNonce' => 'VuFind\View\Helper\Root\CspNonceFactory',
'VuFind\View\Helper\Root\CurrentPath' => 'Laminas\ServiceManager\Factory\InvokableFactory',
'VuFind\View\Helper\Root\DateTime' => 'VuFind\View\Helper\Root\DateTimeFactory',
'VuFind\View\Helper\Root\DeferredRecommend' => 'Laminas\ServiceManager\Factory\InvokableFactory',
'VuFind\View\Helper\Root\DisplayLanguageOption' => 'VuFind\View\Helper\Root\DisplayLanguageOptionFactory',
'VuFind\View\Helper\Root\Doi' => 'VuFind\View\Helper\Root\DoiFactory',
'VuFind\View\Helper\Root\Export' => 'VuFind\View\Helper\Root\ExportFactory',
Expand Down Expand Up @@ -113,7 +112,6 @@
'cspNonce' => 'VuFind\View\Helper\Root\CspNonce',
'currentPath' => 'VuFind\View\Helper\Root\CurrentPath',
'dateTime' => 'VuFind\View\Helper\Root\DateTime',
'deferredRecommend' => 'VuFind\View\Helper\Root\DeferredRecommend',
'displayLanguageOption' => 'VuFind\View\Helper\Root\DisplayLanguageOption',
'doi' => 'VuFind\View\Helper\Root\Doi',
'export' => 'VuFind\View\Helper\Root\Export',
Expand Down

0 comments on commit 4a5f6ea

Please sign in to comment.