[fusion-users] How to upgrade Jx version in Fusion
kde
kdelcroix at celsius-tech.com
Wed Dec 10 07:24:34 EST 2008
Hi all,
I followed the http://trac.osgeo.org/fusion/ticket/115 ticket about the
"Update to new Js" but I have the error Jx.aPixel is undefined.
After having downloaded the Here what I did:
1 - renamed "jx" folder to "old_jx"
2 - copied all .JS files and the a_pixel.png file into /fusion/lib
3 - copied the a_pixel.png file into /fusion/lib
4 - copied the "themes" folder into /fusion/templates
5 - modified the fusion.jx file (*) like this :
-----------------------------------------------------------------------------------------
...
//at line 42:
if (Fusion.useCompressed) {
Fusion.coreScripts = ['lib/OpenLayers/OpenLayersCompressed.js',
'lib/jxlib.js', // <== MODIFIED
'lib/fusion-compressed.js',
'lib/excanvas/excanvas-compressed.js'];
} else {
Fusion.coreScripts = ['lib/OpenLayers/OpenLayers.js',
'lib/jxlib.uncompressed.js', // <== MODIFIED
'lib/excanvas/excanvas-compressed.js',
'lib/utils.js',
'lib/Error.js',
'lib/ApplicationDefinition.js',
'lib/MGBroker.js',
'lib/Widget.js',
'lib/ButtonBase.js',
'lib/MenuBase.js',
'lib/ButtonTool.js',
'lib/CanvasTool.js',
'lib/ClickTool.js',
'lib/RectTool.js',
'lib/Map.js',
'lib/Search.js',
'text/en/strings.json'];
}
...
//at line 93:
Jx.baseURL = gszFusionURL + 'lib/'; // <== 'jx/' changed to 'lib/'
...
-----------------------------------------------------------------------------------------
I tried to :
- copy the "themes" content into /fusion/templates (instead of 4)
- copy the a_pixel.png into every "images" directories I found (instead of
3)
Somebody has an idea of what I did wrong?
Thanks in advance for your help.
PS: My OSMG version is 2.0.2.3011.
(*) Version of my fusion.js file: $Id: fusion.js 1396 2008-05-08 15:34:30Z
madair $
--
View this message in context: http://n2.nabble.com/How-to-upgrade-Jx-version-in-Fusion-tp1638540p1638540.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list