1
0
Fork 0

Prevent name clash with future canvas.gui namespace.

This commit is contained in:
Thomas Geymayer 2013-07-04 21:38:17 +02:00
parent 92611fdcd7
commit d580464095

View file

@ -492,7 +492,7 @@ var GenericMap = { };
# so this needs to be called in the dialog's OPEN block instead - TODO: generalize
#FIXME: move somewhere else, this is a GUI helper and should probably be generalized and moved to gui.nas
GenericMap.setupGUI = func (dialog, group) {
var group = gui.findElementByName(cmdarg() , group);
var group = globals.gui.findElementByName(cmdarg() , group);
var layers=dialog.getNode("features").getChildren("layer");
var template = dialog.getNode("checkbox-toggle-template");