mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Fix edit.js resolvePath calls
This commit is contained in:
parent
6577c7a13c
commit
e7e6c63c64
2 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
var ENTITY_LIST_HTML_URL = Script.resolvePath('../html/entityList.html');
|
||||
|
||||
EntityListTool = function(opts) {
|
||||
var that = {};
|
||||
|
||||
var url = Script.resolvePath('html/entityList.html');
|
||||
var url = ENTITY_LIST_HTML_URL;
|
||||
var webView = new WebWindow('Entities', url, 200, 280, true);
|
||||
|
||||
var searchRadius = 100;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
var GRID_CONTROLS_HTML_URL = Script.resolvePath('../html/gridControls.html');
|
||||
|
||||
Grid = function(opts) {
|
||||
var that = {};
|
||||
|
||||
|
@ -228,7 +230,7 @@ GridTool = function(opts) {
|
|||
var verticalGrid = opts.verticalGrid;
|
||||
var listeners = [];
|
||||
|
||||
var url = Script.resolvePath('html/gridControls.html');
|
||||
var url = GRID_CONTROLS_HTML_URL;
|
||||
var webView = new WebWindow('Grid', url, 200, 280, true);
|
||||
|
||||
horizontalGrid.addListener(function(data) {
|
||||
|
|
Loading…
Reference in a new issue