~makyo/juju-gui/coords

« back to all changes in this revision

Viewing changes to app/views/topology/service.js

  • Committer: Matthew Scott
  • Date: 2013-10-14 17:54:39 UTC
  • Revision ID: matthew.scott@canonical.com-20131014175439-yjqx5zzp7hj1jjhq
Flag to not treat annotated services as new wrt positioning

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        if (!d.inDrag) {
111
111
          var useTransitions = self.get('useTransitions') && !fromGhost;
112
112
          self.drag.call(this, d, self, {x: x, y: y}, useTransitions);
 
113
          // When selecting new services in update this value allows the 
 
114
          // filter function to skip over annotated services.
 
115
          d.model.set('hasBeenPositioned', true);
113
116
        }
114
117
      }});
115
118