Skip to content

Commit

Permalink
Fix jstree in open source.
Browse files Browse the repository at this point in the history
  • Loading branch information
mol123 committed Jul 3, 2020
1 parent 8588f8c commit 4727d2c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion grr/server/grr_response_server/gui/static/Gulpfile.js
Expand Up @@ -140,7 +140,19 @@ function copyThirdPartyResources() {
NODE_MODULES + '/jstree/dist/themes/default/*.png',
NODE_MODULES + '/bootstrap/fonts/glyphicons-halflings-regular.*',
]))
.pipe(gulp.dest(config.distDir));
.pipe(gulp.dest(config.distDir))
/**
* server/grr_response_server/gui/static/angular-components/app-controller.js
* hardcodes the jstree theme path to
* /static/third-party/jstree/themes/
*/
.pipe(
gulp.src(validateGlobs([
NODE_MODULES + '/jstree/dist/themes/default/*.gif',
NODE_MODULES + '/jstree/dist/themes/default/*.png',
]))
)
.pipe(gulp.dest("third-party/jstree/themes/default"));
}

/**
Expand Down

0 comments on commit 4727d2c

Please sign in to comment.