~matsubara/juju-gui/tarmac-test

« back to all changes in this revision

Viewing changes to app/views/charm-panel.js

  • Committer: Matthew Scott
  • Date: 2013-01-09 17:23:33 UTC
  • mfrom: (307 juju-gui)
  • mto: This revision was merged to the branch mainline in revision 312.
  • Revision ID: matthew.scott@canonical.com-20130109172333-ad6ndevmn5p44dz0
Merging with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1056
1056
    setPanel({name: 'charms'});
1057
1057
 
1058
1058
    // Update position if we resize the window.
1059
 
    Y.on('windowresize', function(e) {
 
1059
    subscriptions.push(Y.on('windowresize', function(e) {
1060
1060
      if (isPanelVisible) {
1061
1061
        updatePanelPosition();
1062
1062
      }
1063
 
    });
 
1063
    }));
1064
1064
 
1065
1065
    /**
1066
1066
     * Hide the charm panel.
1229
1229
  requires: [
1230
1230
    'view',
1231
1231
    'juju-view-utils',
 
1232
    'juju-templates',
1232
1233
    'node',
1233
1234
    'handlebars',
1234
1235
    'event-hover',