Explorar o código

added WFS_URL arg in RefGraph view js

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
dc91058a59
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      SE/se-lib/Route/RefGraph.php.view.js

+ 4 - 0
SE/se-lib/Route/RefGraph.php.view.js

@@ -22,6 +22,10 @@ var _defaultWfsParams = {
 	resolve: 'all',
 	resolveDepth: 2,
 }
+if ('undefined' !== typeof WFS_URL) {
+	_defaultWfsParams['WFS_URL'] = WFS_URL
+}
+
 var _defaultVisJsOptions = {
 	nodes: {
 		shape: 'box'