Module: nagvis Branch: master Commit: 0ba3c773a5476b7a297067d7c9cc1fede157200c URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=0ba3c773a5476b7a297067d7c9cc1fede157200c
Author: Lars Michelsen <[email protected]> Date: Sat Oct 17 13:51:37 2009 +0200 #123 The update code of automap works now; The background image of the automap is reloading after a config change now --- share/frontend/nagvis-js/js/frontend.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/share/frontend/nagvis-js/js/frontend.js b/share/frontend/nagvis-js/js/frontend.js index b41171b..9f9678e 100644 --- a/share/frontend/nagvis-js/js/frontend.js +++ b/share/frontend/nagvis-js/js/frontend.js @@ -519,6 +519,11 @@ function updateMapBasics() { setPageBackgroundColor(getBackgroundColor(o)); } + // Update background image for automap + if(oPageProperties.view_type === 'automap') { + setMapBackgroundImage(oPageProperties.background_image+iNow); + } + o = null; } @@ -1845,7 +1850,7 @@ function workerUpdate(iCount, sType, sIdentifier) { var map = oPageProperties.map_name; // Create request string - var sUrlPart = '&i[]='+escapeUrlValues(obj_id)+'&m[]='+escapeUrlValues(map)+'&t[]='+type+'&n1[]='+name; + var sUrlPart = '&i[]='+escapeUrlValues(obj_id)+'&am[]='+escapeUrlValues(map)+'&t[]='+type+'&n1[]='+name; if(service_description) { sUrlPart = sUrlPart + '&n2[]='+escapeUrlValues(service_description); } else { ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
