From b074a61741e228eebd8dd56e972985255455fc78 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Tue, 11 Apr 2017 13:16:04 +0200 Subject: [PATCH] Fixed updates bug --- .../Extension/libs/jquery.gam.js | 8 ++++++-- Chrome based ( Yandex, etc... )/Extension/manifest.json | 2 +- Firefox/Extension/libs/jquery.gam.js | 8 ++++++-- Firefox/Extension/manifest.json | 2 +- Opera/Extension/libs/jquery.gam.js | 8 ++++++-- Opera/Extension/manifest.json | 2 +- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/Chrome based ( Yandex, etc... )/Extension/libs/jquery.gam.js b/Chrome based ( Yandex, etc... )/Extension/libs/jquery.gam.js index cecdf2b..70ec837 100644 --- a/Chrome based ( Yandex, etc... )/Extension/libs/jquery.gam.js +++ b/Chrome based ( Yandex, etc... )/Extension/libs/jquery.gam.js @@ -477,9 +477,13 @@ try{ var current = JSON.parse( localStorage[ sign ] ); - $.extend( true, current, cfg ); - localStorage[ sign ] = JSON.stringify( current ); + // ( it ) --> Aggiorno anche i nuovi aggiornamenti + + $.extend( true, config, current ); + $.extend( true, config, cfg ); + + localStorage[ sign ] = JSON.stringify( config ); //console.log( "Saved from localstorage : " + localStorage[ sign ] ); }catch( e ){ diff --git a/Chrome based ( Yandex, etc... )/Extension/manifest.json b/Chrome based ( Yandex, etc... )/Extension/manifest.json index d2d844c..2235114 100644 --- a/Chrome based ( Yandex, etc... )/Extension/manifest.json +++ b/Chrome based ( Yandex, etc... )/Extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version" : 2, "author" : "Leonardo Ciaccio", - "version" : "6.1.1.9", + "version" : "6.1.2.0", "name" : "Grab Any Media", "default_locale" : "en", "description" : "__MSG_des__", diff --git a/Firefox/Extension/libs/jquery.gam.js b/Firefox/Extension/libs/jquery.gam.js index c9f074f..d980485 100644 --- a/Firefox/Extension/libs/jquery.gam.js +++ b/Firefox/Extension/libs/jquery.gam.js @@ -477,9 +477,13 @@ try{ var current = JSON.parse( localStorage[ sign ] ); - $.extend( true, current, cfg ); - localStorage[ sign ] = JSON.stringify( current ); + // ( it ) --> Aggiorno anche i nuovi aggiornamenti + + $.extend( true, config, current ); + $.extend( true, config, cfg ); + + localStorage[ sign ] = JSON.stringify( config ); //console.log( "Saved from localstorage : " + localStorage[ sign ] ); }catch( e ){ diff --git a/Firefox/Extension/manifest.json b/Firefox/Extension/manifest.json index 9e4d90d..9be5a51 100644 --- a/Firefox/Extension/manifest.json +++ b/Firefox/Extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version" : 2, "author" : "Leonardo Ciaccio", - "version" : "6.1.1.9", + "version" : "6.1.2.0", "name" : "Grab Any Media", "default_locale" : "en", "description" : "__MSG_des__", diff --git a/Opera/Extension/libs/jquery.gam.js b/Opera/Extension/libs/jquery.gam.js index 5a5d68c..b353062 100644 --- a/Opera/Extension/libs/jquery.gam.js +++ b/Opera/Extension/libs/jquery.gam.js @@ -477,9 +477,13 @@ try{ var current = JSON.parse( localStorage[ sign ] ); - $.extend( true, current, cfg ); - localStorage[ sign ] = JSON.stringify( current ); + // ( it ) --> Aggiorno anche i nuovi aggiornamenti + + $.extend( true, config, current ); + $.extend( true, config, cfg ); + + localStorage[ sign ] = JSON.stringify( config ); //console.log( "Saved from localstorage : " + localStorage[ sign ] ); }catch( e ){ diff --git a/Opera/Extension/manifest.json b/Opera/Extension/manifest.json index 4ad81c7..9a8c0aa 100644 --- a/Opera/Extension/manifest.json +++ b/Opera/Extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version" : 2, "author" : "Leonardo Ciaccio", - "version" : "6.1.1.9", + "version" : "6.1.2.0", "name" : "Grab Any Media", "default_locale" : "en", "description" : "__MSG_des__",