mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2024-12-23 15:36:12 +00:00
Bug: Can't set cutom image on folder
This commit is contained in:
parent
2e5bbce72f
commit
beb52273a2
@ -544,8 +544,11 @@ app.GridNodes.updateNode = function(gridNode, value, callback){
|
|||||||
if(value){
|
if(value){
|
||||||
if(value.title) gridNode.title = value.title;
|
if(value.title) gridNode.title = value.title;
|
||||||
if(value.titleLocked!=null) gridNode.titleLocked = value.titleLocked;
|
if(value.titleLocked!=null) gridNode.titleLocked = value.titleLocked;
|
||||||
if(value.imageLocked!=null) gridNode.imageLocked = value.imageLocked;
|
if(value.imageLocked!=null){
|
||||||
if(gridNode.imageLocked == false){
|
gridNode.imageLocked = value.imageLocked;
|
||||||
|
if(value.image) gridNode.image = value.image;
|
||||||
|
else delete gridNode.image;
|
||||||
|
} else if(gridNode.imageLocked != true){
|
||||||
if(value.image) gridNode.image = value.image;
|
if(value.image) gridNode.image = value.image;
|
||||||
else delete gridNode.image;
|
else delete gridNode.image;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user