summaryrefslogtreecommitdiffstats
path: root/pyload/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app')
-rw-r--r--pyload/web/app/scripts/config.js6
-rw-r--r--pyload/web/app/scripts/views/dashboard/dashboardView.js1
2 files changed, 6 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/config.js b/pyload/web/app/scripts/config.js
index 85620b2b7..2f5745c08 100644
--- a/pyload/web/app/scripts/config.js
+++ b/pyload/web/app/scripts/config.js
@@ -34,6 +34,12 @@ require.config({
tpl: '../templates/default'
},
+ map: {
+ '*': {
+ 'Handlebars': 'handlebars'
+ }
+ },
+
hbs: {
disableI18n: true,
helperPathCallback: // Callback to determine the path to look for helpers
diff --git a/pyload/web/app/scripts/views/dashboard/dashboardView.js b/pyload/web/app/scripts/views/dashboard/dashboardView.js
index e1312fd2c..12371c668 100644
--- a/pyload/web/app/scripts/views/dashboard/dashboardView.js
+++ b/pyload/web/app/scripts/views/dashboard/dashboardView.js
@@ -181,7 +181,6 @@ define(['jquery', 'backbone', 'underscore', 'app', 'models/TreeCollection', 'col
App.vent.trigger('dashboard:destroyContent');
},
- // TODO: render inserted files
// reload the package
onPackageUpdated: function(pid) {
var self = this;