update fake-input values after validation (eventually applies widgets filter on value)
disable right click drag
This commit is contained in:
parent
69db1b3260
commit
adb79ed08d
3 changed files with 16 additions and 16 deletions
|
|
@ -4106,6 +4106,12 @@ require('./app')
|
|||
this.on(events.start,function(e){
|
||||
e.stopPropagation()
|
||||
|
||||
if (e.button==2) {
|
||||
e.preventDefault()
|
||||
$(e.target).trigger('fake-right-click',e)
|
||||
return
|
||||
}
|
||||
|
||||
isPointerDown = true
|
||||
target = $(e.target)
|
||||
previousEvent = e
|
||||
|
|
@ -4115,13 +4121,6 @@ require('./app')
|
|||
e.deltaX = 0
|
||||
e.deltaY = 0
|
||||
|
||||
|
||||
if (e.button==2) {
|
||||
e.preventDefault()
|
||||
$(e.target).trigger('fake-right-click',e)
|
||||
return
|
||||
}
|
||||
|
||||
target.triggerHandler('draginit',e)
|
||||
})
|
||||
|
||||
|
|
@ -4382,7 +4381,8 @@ var startEvent = 'ontouchstart' in window ?'touchstart':'mousedown'
|
|||
.focus()
|
||||
.change(function(){
|
||||
self.val($(this).val())
|
||||
// $(this).remove()
|
||||
i.blur()
|
||||
setTimeout(function(){self.focus()},1)
|
||||
})
|
||||
i.blur(function(){
|
||||
self.attr('tabindex','0')
|
||||
|
|
|
|||
|
|
@ -35,6 +35,12 @@
|
|||
this.on(events.start,function(e){
|
||||
e.stopPropagation()
|
||||
|
||||
if (e.button==2) {
|
||||
e.preventDefault()
|
||||
$(e.target).trigger('fake-right-click',e)
|
||||
return
|
||||
}
|
||||
|
||||
isPointerDown = true
|
||||
target = $(e.target)
|
||||
previousEvent = e
|
||||
|
|
@ -44,13 +50,6 @@
|
|||
e.deltaX = 0
|
||||
e.deltaY = 0
|
||||
|
||||
|
||||
if (e.button==2) {
|
||||
e.preventDefault()
|
||||
$(e.target).trigger('fake-right-click',e)
|
||||
return
|
||||
}
|
||||
|
||||
target.triggerHandler('draginit',e)
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ var startEvent = 'ontouchstart' in window ?'touchstart':'mousedown'
|
|||
.focus()
|
||||
.change(function(){
|
||||
self.val($(this).val())
|
||||
// $(this).remove()
|
||||
i.blur()
|
||||
setTimeout(function(){self.focus()},1)
|
||||
})
|
||||
i.blur(function(){
|
||||
self.attr('tabindex','0')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue