replaced app.__app__.getAppDir() with File (app.dir)
This commit is contained in:
parent
8b83030b41
commit
f3b74ba3b8
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ function buildAliasFromFile(uploadFile) {
|
||||||
|
|
||||||
function onStart() {
|
function onStart() {
|
||||||
// load application messages
|
// load application messages
|
||||||
var dir = app.__app__.getAppDir();
|
var dir = new File(app.dir);
|
||||||
var arr = dir.list();
|
var arr = dir.list();
|
||||||
for (var i in arr) {
|
for (var i in arr) {
|
||||||
if (arr[i].indexOf("messages.") > -1) {
|
if (arr[i].indexOf("messages.") > -1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue