editor: fix "ID + 1" paste for widgets with numeric ids
This commit is contained in:
parent
1a822416f8
commit
9470aba0ec
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- tabs not sending messages / triggering scripts when clicked in editing mode
|
||||
- prevent hang with some syntax errors in advanced syntaxes
|
||||
- don't show project tree when creating a new widget (1.9.2 regression)
|
||||
- fix "ID + 1" paste for widgets with numeric ids
|
||||
|
||||
- editor
|
||||
- tree: allow specifying multiple type filters
|
||||
|
|
|
|||
|
|
@ -177,8 +177,8 @@ var incrementWidget = function(data, root){
|
|||
return data
|
||||
}
|
||||
|
||||
var id = data.id,
|
||||
address = data.address
|
||||
var id = String(data.id),
|
||||
address = String(data.address)
|
||||
|
||||
if (id && address == '/' + id) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue