summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/headerView.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-19 22:13:10 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-19 22:13:10 +0100
commitc8bee03f8c0ca82c3981724e5bc661f630d9ab7e (patch)
treec81e552b54c210e74637437fd4eeca72eb24f510 /module/web/static/js/views/headerView.js
parentadded shadow to package box (diff)
downloadpyload-c8bee03f8c0ca82c3981724e5bc661f630d9ab7e.tar.xz
integrated new package view
Diffstat (limited to 'module/web/static/js/views/headerView.js')
-rw-r--r--module/web/static/js/views/headerView.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/web/static/js/views/headerView.js b/module/web/static/js/views/headerView.js
index 7effcf79d..43c66b99f 100644
--- a/module/web/static/js/views/headerView.js
+++ b/module/web/static/js/views/headerView.js
@@ -1,4 +1,4 @@
-define(['jquery', 'backbone', 'flot'], function($, Backbone) {
+define(['jquery', 'underscore', 'backbone', 'flot'], function($, _, Backbone) {
// Renders the header with all information
return Backbone.View.extend({
@@ -12,9 +12,14 @@ define(['jquery', 'backbone', 'flot'], function($, Backbone) {
// Will hold the link grabber
grabber: null,
+ notifications: null,
+ selections: null,
initialize: function() {
+ this.notifications = this.$('#notification-area').calculateHeight();
+ this.selections = this.$('#selection-area').calculateHeight();
+
var totalPoints = 100;
var data = [];