allow dragging on the widget's label if available
This commit is contained in:
parent
e29ea9702c
commit
f1e384ecc2
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -223,7 +223,7 @@ var editObject = function(container, data, refresh){
|
|||
ui.helper.remove()
|
||||
updateDom(container,data)
|
||||
},
|
||||
handle:'.ui-draggable-handle',
|
||||
handle:'.ui-draggable-handle, > .label',
|
||||
snap:'.widget',
|
||||
snapTolerance:5,
|
||||
helper:function(){return $('<div class="ui-helper"></div>').css({height:container.outerHeight(),width:container.outerWidth()})}
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@
|
|||
opacity: 1!important;
|
||||
}
|
||||
|
||||
.ui-draggable-handle {
|
||||
.ui-draggable-handle:not(.label) {
|
||||
position: absolute;
|
||||
top: 5rem;
|
||||
left: 5rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue