Enable tooltips, don't know if I'll keep it but at least the code is checked in. re #79

This commit is contained in:
Sébastien Lucas 2014-07-24 18:47:21 +02:00
parent 5825a00f8b
commit e57771c6af
3 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,7 @@
<script type="text/javascript" src="resources/lru/lru.js?v={{=it.version}}"></script> <script type="text/javascript" src="resources/lru/lru.js?v={{=it.version}}"></script>
<script type="text/javascript" src="resources/typeahead/typeahead.bundle.min.js?v={{=it.version}}"></script> <script type="text/javascript" src="resources/typeahead/typeahead.bundle.min.js?v={{=it.version}}"></script>
{{?}} {{?}}
<script type="text/javascript" src="templates/bootstrap/scripts/cops.js"></script>
<script type="text/javascript" src="util.js"></script> <script type="text/javascript" src="util.js"></script>
<link rel="related" href="{{=it.opds_url}}" type="application/atom+xml;profile=opds-catalog" title="{{=it.title}}" /> <link rel="related" href="{{=it.opds_url}}" type="application/atom+xml;profile=opds-catalog" title="{{=it.title}}" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{{=it.favico}}" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{{=it.favico}}" />

View file

@ -0,0 +1,4 @@
function postRefresh()
{
$('[data-toggle="tooltip"]').tooltip();
}

View file

@ -330,6 +330,9 @@ updatePage = function (data) {
window.location = datum.navlink; window.location = datum.navlink;
} }
}); });
if(typeof postRefresh == 'function')
{ postRefresh(); }
}; };
navigateTo = function (url) { navigateTo = function (url) {