[mapguide-internals] PATCH: fix for showing command label insteadof command name inAJAX flyout menu

Bruce Dechant bruce.dechant at autodesk.com
Tue Jul 3 13:04:22 EDT 2007


Thanks for creating this patch!

I have created the following trac ticket: http://trac.osgeo.org/mapguide/ticket/222

Thanks,
Bruce

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Måns Beckman
Sent: July 3, 2007 4:30 AM
To: mapguide-internals at lists.osgeo.org
Subject: [mapguide-internals] PATCH: fix for showing command label insteadof command name inAJAX flyout menu

Hi, 

 

This is my first time submitting a patch so I hope that I'm doing everything correct.

 

When I was translating MapGuide into Swedish I found that the flyout menu in the toolbar shows the command name and not the command label set in MGS. I found where the error was and downloaded the code from the trac. 

 

What I do is simply correcting root/trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ so that row 1037 says the same thing as 986, changing cmd.name to item.name. I think the same change should be applied to row 482 in root/trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ but I haven't made a real diff for that. 

 

Hope I got everything right now. 

 

Cheers

Måns

 

 

-----------------------------------------------------------

Måns Beckman

Man and Machine

Fabriksgatan 13

412 50 Göteborg

Phone: +46 31 - 762 8182

Mobile: +46 733 - 38 83 19

 




More information about the mapguide-internals mailing list