瀏覽代碼

added WFS_URL arg in RefGraph view js

Piotr Labudda 8 年之前
父節點
當前提交
dc91058a59
共有 1 個文件被更改,包括 4 次插入0 次删除
  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'