~juju-gui/juju-gui/trunk

Viewing all changes in revision 282.

  • Committer: Francesco Banconi
  • Date: 2012-12-14 17:19:57 UTC
  • mfrom: (280.1.2 bug-1090046-resize)
  • Revision ID: francesco.banconi@canonical.com-20121214171957-9w10cauugq0g6fys
Fix GUI breakage on browser resizing.

Fixed how yui events are handled by the component framework.
Also added two tests:
- ensure that the module synthetic events binding works;
- ensure that the custom events 'beforePageSizeRecalculation' 
  and 'afterPageSizeRecalculation' are correctly fired by 
  the environment view when the browser is resized.

QA: resize the browser, open the charm panel, resize the 
    browser again, close the charm panel, resize again, 
    re-open the panel...

R=benjamin.saller, gary.poster
CC=
https://codereview.appspot.com/6941053

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: