1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2024-12-23 07:26:11 +00:00

Bug: Can't set cutom image on folder

This commit is contained in:
MatMoul 2017-11-26 13:04:14 +01:00
parent 2e5bbce72f
commit beb52273a2

View File

@ -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;
} }