juju/juju-gui — pull request #344 by huwshimi (2014-05-27 00:08:06+00:00)
Title: Fixed drag and drop of unplaced units

Drag and drop of unplaced units was broken. This fixes it.

QA:
- drag a service to the canvas
- open the machine view
- drag the unplaced unit to 'create a machine'
- open the javascript console and check there are no errors.
- click deploy and confirm
The unit should be on a new machine. Adding more units and dropping them on existing containers should work as well.