Set the toolbar actions draggable items always to the top

This commit is contained in:
Hadi Nategh 2014-02-11 14:18:30 +00:00
parent 4b6699c0d5
commit cf6d844c67

View File

@ -205,6 +205,7 @@ var et2_toolbar = et2_DOMWidget.extend(
var that = this; var that = this;
toolbar.draggable({ toolbar.draggable({
cancel:true, cancel:true,
zIndex: 1000,
//revert:"invalid", //revert:"invalid",
containment: "document", containment: "document",
cursor: "move", cursor: "move",
@ -219,6 +220,7 @@ var et2_toolbar = et2_DOMWidget.extend(
containment:"document", containment:"document",
helper:"clone", helper:"clone",
appendTo:'body', appendTo:'body',
zIndex: 1000,
cursor:"move" cursor:"move"
}); });
toolbox.children().droppable({ toolbox.children().droppable({