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

Bug: Updating bookmark url don't refresh tile

This commit is contained in:
MatMoul 2017-11-12 16:13:13 +01:00
parent a64561835c
commit 17739110ff

View File

@ -409,7 +409,10 @@ app.GridNodes.sync = function(gridNode, rootPath, callback){ // Sync GridNodes w
gridNode.title = bookmarkItem.title;
if(bookmarkItem.url){
gridNode.type = app.GridNodes.GridNodeType.bookmark;
gridNode.url = bookmarkItem.url;
if(gridNode.url != bookmarkItem.url){
gridNode.url = bookmarkItem.url;
delete gridNode.image;
}
} else if(bookmarkItem.children){
gridNode.type = app.GridNodes.GridNodeType.folder;
var EmptyNodes = [];