Module: nagvis Branch: master Commit: 3e882a0cf8f75deb4486918f9dd07147ff892e4f URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/nagvis;a=commit;h=3e882a0cf8f75deb4486918f9dd07147ff892e4f
Author: Lars Michelsen <[email protected]> Date: Tue Sep 8 21:24:32 2009 +0200 #8 Fixed loading of hover/context related css files --- share/frontend/nagvis-js/js/frontend.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/frontend/nagvis-js/js/frontend.js b/share/frontend/nagvis-js/js/frontend.js index dde5a7f..6946e6c 100755 --- a/share/frontend/nagvis-js/js/frontend.js +++ b/share/frontend/nagvis-js/js/frontend.js @@ -217,7 +217,7 @@ function getHoverTemplates(aObjs) { // This is needed for some old browsers which do no load css files // which are included in such fetched html code var oLink = document.createElement('link'); - oLink.href = oGeneralProperties.path_htmlbase+'/nagvis/templates/hover/tmpl.'+i+'.css'; + oLink.href = oGeneralProperties.path_htmlbase+'/userfiles/templates/hover/tmpl.'+i+'.css'; oLink.rel = 'stylesheet'; oLink.type = 'text/css'; document.body.appendChild(oLink); @@ -265,7 +265,7 @@ function getContextTemplates(aObjs) { // Load template css file var oLink = document.createElement('link'); - oLink.href = oGeneralProperties.path_htmlbase+'/nagvis/templates/context/tmpl.'+sName+'.css'; + oLink.href = oGeneralProperties.path_htmlbase+'/context/templates/context/tmpl.'+sName+'.css'; oLink.rel = 'stylesheet'; oLink.type = 'text/css'; document.body.appendChild(oLink); ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
