diff options
-rw-r--r-- | pyload/web/app/scripts/config.js | 6 | ||||
-rw-r--r-- | pyload/web/app/scripts/views/dashboard/dashboardView.js | 1 | ||||
-rw-r--r-- | pyload/web/bower.json | 2 | ||||
-rw-r--r-- | pyload/web/package.json | 2 |
4 files changed, 8 insertions, 3 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; diff --git a/pyload/web/bower.json b/pyload/web/bower.json index fe5641cb2..41122adba 100644 --- a/pyload/web/bower.json +++ b/pyload/web/bower.json @@ -5,7 +5,7 @@ "pyload-common": "https://github.com/pyload/pyload-common.git", "requirejs": "2.1.9", "requirejs-text": "*", - "require-handlebars-plugin": "*", + "require-handlebars-plugin": "0.4.0", "jquery": "~1.9.1", "jquery.transit": "~0.9.9", "jquery.cookie": "~1.3.1", diff --git a/pyload/web/package.json b/pyload/web/package.json index e1a2defb7..5de79a814 100644 --- a/pyload/web/package.json +++ b/pyload/web/package.json @@ -17,7 +17,7 @@ "grunt-contrib-connect": "~0.2.0", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-htmlmin": "~0.1.3", - "grunt-contrib-requirejs": "~0.4.0", + "grunt-contrib-requirejs": "~0.4.1", "grunt-contrib-imagemin": "~0.1.3", "grunt-contrib-watch": "~0.4.0", "grunt-contrib-compress": "~0.5.0", |