[New Edit Mode] #633 Removed Editing workflow concerns from FixedController, LayoutController

This commit is contained in:
Henry
2016-05-12 19:12:00 -07:00
parent 25a2321578
commit b6502e9ea1
4 changed files with 4 additions and 19 deletions

View File

@ -271,15 +271,13 @@ define(
}
// Position a panel after a drop event
function handleDrop(e, id, position, editableDomainObject) {
function handleDrop(e, id, position) {
// Don't handle this event if it has already been handled
// color is set to "" to let the CSS theme determine the default color
if (e.defaultPrevented) {
return;
}
if (editableDomainObject) {
$scope.setEditable(editableDomainObject);
}
e.preventDefault();
// Store the position of this element.
addElement({