~bcsaller/juju-gui/phantom-testing

« back to all changes in this revision

Viewing changes to test/test_service_module.js

  • Committer: Benjamin Saller
  • Author(s): Benjamin Saller
  • Date: 2013-01-22 13:43:22 UTC
  • mfrom: (334.2.4 menu-click-fix)
  • Revision ID: bcsaller@gmail.com-20130122134322-z50f41gyqy8658z2
Fix various breakage around menu handling

Fixed issues from merge around method name change and fixed strange
interaction issues with click and dragstart both interacting with the menu on
non-drag events (dragstart it seems is called on any bound targets click).

R=frankban, teknico
CC=
https://codereview.appspot.com/7174045

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
     function() {
55
55
       var d =
56
56
           { id: 'wordpress',
 
57
             inDrag: true,
57
58
             x: 100.1,
58
59
             y: 200.2};
59
60
       serviceModule.dragend(d, serviceModule);