diff --git a/templates/bootstrap/file.html b/templates/bootstrap/file.html index 9c62315..14b3519 100644 --- a/templates/bootstrap/file.html +++ b/templates/bootstrap/file.html @@ -24,6 +24,7 @@ {{?}} + diff --git a/templates/bootstrap/scripts/cops.js b/templates/bootstrap/scripts/cops.js new file mode 100644 index 0000000..3383895 --- /dev/null +++ b/templates/bootstrap/scripts/cops.js @@ -0,0 +1,4 @@ +function postRefresh() +{ + $('[data-toggle="tooltip"]').tooltip(); +} \ No newline at end of file diff --git a/util.js b/util.js index 6cb1be2..fc86552 100644 --- a/util.js +++ b/util.js @@ -330,6 +330,9 @@ updatePage = function (data) { window.location = datum.navlink; } }); + + if(typeof postRefresh == 'function') + { postRefresh(); } }; navigateTo = function (url) {