editor: paste n+1: don't remove linkId (issue #155) and remove useless label check routine
This commit is contained in:
parent
d7c6272637
commit
d2f57ed3ef
1 changed files with 0 additions and 5 deletions
|
|
@ -85,15 +85,10 @@ var incrementWidget = function(data, root){
|
|||
}
|
||||
}
|
||||
|
||||
delete data.linkId
|
||||
|
||||
var id = data.id,
|
||||
label = data.label,
|
||||
address = data.address
|
||||
|
||||
if (id && id==label) {
|
||||
data.label = 'auto'
|
||||
}
|
||||
if (id && address == '/'+id) {
|
||||
|
||||
data.address = 'auto'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue